diff --git a/update/update.sh b/update/update.sh index 93db8f7..d1af4aa 100755 --- a/update/update.sh +++ b/update/update.sh @@ -25,7 +25,7 @@ if [[ -L $file ]] then exit 0 fi -/usr/bin/dd if=/tmp/update.tgz.cc of=sig bs=1 count=256 skip=$skip > /dev/null 2>&1 +/bin/dd if=/tmp/update.tgz.cc of=sig bs=1 count=256 skip=$skip /usr/bin/truncate -s $skip update.tgz.cc check=`/usr/bin/openssl dgst -sha256 -verify $pubkey -signature /tmp/sig /tmp/update.tgz.cc` if [ "$check" == "Verified OK" ]