1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-21 18:09:06 +01:00

Repaired self-upgrade

This commit is contained in:
Lukas Macura 2016-04-04 14:53:34 +02:00
parent 6a868ae3f1
commit c0bbe2e30e

2
zaf
View File

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