diff --git a/home/bin/update-profile b/home/bin/update-profile index c635a78..972bd42 100755 --- a/home/bin/update-profile +++ b/home/bin/update-profile @@ -1,7 +1,7 @@ #!/bin/sh -e CUT="gcut" -if ! command -v "${CUT}" 2>&1; then +if ! command -v "${CUT}" >/dev/null 2>&1; then CUT="cut" fi diff --git a/install.sh b/install.sh index 9f9748b..393edc5 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/sh -e READLINK="greadlink" -if ! command -v "${READLINK}" 2>&1; then +if ! command -v "${READLINK}" >/dev/null 2>&1; then READLINK="readlink" fi