1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-14 06:29:07 +01:00

One more version repair

This commit is contained in:
Lukas Macura 2016-04-12 15:42:09 +02:00
parent 86b921dad2
commit 6bf7c16b7d

View File

@ -7,7 +7,6 @@ if [ -z "$ZAF_URL" ]; then
fi
[ -z "$ZAF_GITBRANCH" ] && ZAF_GITBRANCH=master
[ -z "$ZAF_VERSION" ] && ZAF_VERSION=1.1master
# Lite version of zaf_fetch_url, full version will be loaded later
zaf_fetch_url(){
@ -22,7 +21,7 @@ zaf_fetch_url(){
# Download tgz and extract to /tmp/zaf-installer
zaf_download_files() {
rm -rf /tmp/zaf-installer
zaf_fetch_url $ZAF_URL/archive/$ZAF_GITBRANCH.tar.gz | tar -f - -C /tmp -zx && mv /tmp/zaf-$ZAF_VERSION /tmp/zaf-installer
zaf_fetch_url $ZAF_URL/archive/$ZAF_GITBRANCH.tar.gz | tar -f - -C /tmp -zx && mv /tmp/zaf-$ZAF_GITBRANCH /tmp/zaf-installer
}
if ! [ -f README.md ]; then