[fix] The auto upgrade missed a \
This commit is contained in:
parent
1e6dbcb300
commit
b0219d88b2
@ -240,7 +240,7 @@ NEW=\$(curl -s \$URL | grep -e ">wekan.*zip"|sed -r "s/^.*>wekan-(.*?).zip<.*\$/
|
||||
CUR=\$(readlink /home/wekan/bundle| cut -d"/" -f 4)
|
||||
[ "\$NEW" == "\$CUR" ] && exit 0
|
||||
[ -e /home/wekan/\$NEW ] && exit 0
|
||||
echo "$(date) Install $NEW"
|
||||
echo "\$(date) Install $NEW"
|
||||
TMP=\$( mktemp -d )
|
||||
cd "\$TMP"
|
||||
wget --quiet "\$URL/wekan-\$NEW.zip"
|
||||
|
Loading…
Reference in New Issue
Block a user