From 09f478dba0a3a311df082f6a188d250342bba098 Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Fri, 10 Feb 2012 09:13:30 +0100 Subject: [PATCH] silent command check --- remote-backup | 6 ------ 1 file changed, 6 deletions(-) diff --git a/remote-backup b/remote-backup index 918b859..7678ab2 100755 --- a/remote-backup +++ b/remote-backup @@ -22,7 +22,6 @@ checktools() { # that needs to check that specific tools are present on the system # and can be found in the PATH var=$(echo $1 | tr '[:lower:]' '[:upper:]') - echo -n "# Looking for $1... " local_var="$(which $1)" eval $var="$local_var" if [ -z "$local_var" ] @@ -31,7 +30,6 @@ checktools() { NOTFOUND="$NOTFOUND$1 " DIE=1 else - echo "$local_var" FOUND="$FOUND$1 " fi unset local_var @@ -42,10 +40,6 @@ do checktools "$tool" done -echo -echo "# Found $FOUND" -echo - if [ -n "$DIE" ] then echo "Some tools were not found, please check your installation" >&2