mirror of
https://github.com/limosek/zaf.git
synced 2024-11-24 11:29:06 +01:00
One more bug fix on self-upgrade
This commit is contained in:
parent
4964988b36
commit
1c274a512b
2
zaf
2
zaf
@ -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 && chmod +x ./install.sh && exec ./install.sh
|
cd /tmp/zaf-installer && chmod +x ./install.sh && exec ./install.sh auto
|
||||||
else
|
else
|
||||||
echo "Cannot fetch uri $ZAF_URL/install.sh!";
|
echo "Cannot fetch uri $ZAF_URL/install.sh!";
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user