[fix] The auto upgrade missed a \

This commit is contained in:
alban 2019-09-07 21:00:30 +00:00
parent 711761e387
commit 1f2d5a81d1
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,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"