From 5e33a3783a4165d8f52b60b71c47980a444c76a7 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Wed, 18 Jul 2018 09:19:23 +0200 Subject: [PATCH] Fix silencing. --- home/bin/update-profile | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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