Wrong dd path in update.sh
This commit is contained in:
parent
dac0265967
commit
54ec9559ac
@ -25,7 +25,7 @@ if [[ -L $file ]]
|
|||||||
then
|
then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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
|
/usr/bin/truncate -s $skip update.tgz.cc
|
||||||
check=`/usr/bin/openssl dgst -sha256 -verify $pubkey -signature /tmp/sig /tmp/update.tgz.cc`
|
check=`/usr/bin/openssl dgst -sha256 -verify $pubkey -signature /tmp/sig /tmp/update.tgz.cc`
|
||||||
if [ "$check" == "Verified OK" ]
|
if [ "$check" == "Verified OK" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user