update
This commit is contained in:
parent
1a27b3e8e6
commit
55eb6ea0d5
|
@ -77,8 +77,8 @@ sum1=$(/usr/bin/md5sum &plugin;/&name;-&version;.txz)
|
||||||
sum2=$(/usr/bin/cat &plugin;/&name;-&version;.md5)
|
sum2=$(/usr/bin/cat &plugin;/&name;-&version;.md5)
|
||||||
if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
if [ "${sum1:0:32}" != "${sum2:0:32}" ]; then
|
||||||
echo "Wrong 'plugin' package md5 hash."
|
echo "Wrong 'plugin' package md5 hash."
|
||||||
rm &plugin;/&name;-&version;.txz
|
#rm &plugin;/&name;-&version;.txz
|
||||||
rm &plugin;/&name;-&version;.md5
|
#rm &plugin;/&name;-&version;.md5
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
upgradepkg --install-new &plugin;/&name;-&version;.txz
|
upgradepkg --install-new &plugin;/&name;-&version;.txz
|
||||||
|
|
Loading…
Reference in New Issue
Block a user