One more bug fix on self-upgrade

1.0
Lukas Macura 2016-04-04 15:06:12 +02:00
parent 4964988b36
commit 1c274a512b
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 && chmod +x ./install.sh && exec ./install.sh
cd /tmp/zaf-installer && chmod +x ./install.sh && exec ./install.sh auto
else
echo "Cannot fetch uri $ZAF_URL/install.sh!";
fi