From 54ec9559ac751186dd577c5b7a98b1743c709194 Mon Sep 17 00:00:00 2001 From: Giulio Date: Mon, 21 Sep 2020 09:57:13 +0200 Subject: [PATCH] Wrong dd path in update.sh --- update/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ]