Repaired self-upgrade

1.0
Lukas Macura 2016-04-04 14:53:34 +02:00
parent 6a868ae3f1
commit c0bbe2e30e
1 changed files with 1 additions and 1 deletions

2
zaf
View File

@ -128,7 +128,7 @@ remove)
self-upgrade)
rm -rf /tmp/zaf-installer && mkdir /tmp/zaf-installer
if zaf_fetch_url $ZAF_URL/install.sh >/tmp/zaf-installer/install.sh; then
cd /tmp/zaf-installer && exec ./install.sh
cd /tmp/zaf-installer && chmod +x ./install.sh && exec ./install.sh
else
echo "Cannot fetch uri $ZAF_URL/install.sh!";
fi