mirror of
https://github.com/limosek/zaf.git
synced 2024-11-13 05:59:06 +01:00
One more version repair
This commit is contained in:
parent
86b921dad2
commit
6bf7c16b7d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user