mirror of
https://github.com/limosek/zaf.git
synced 2024-11-24 11:29: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
|
fi
|
||||||
|
|
||||||
[ -z "$ZAF_GITBRANCH" ] && ZAF_GITBRANCH=master
|
[ -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
|
# Lite version of zaf_fetch_url, full version will be loaded later
|
||||||
zaf_fetch_url(){
|
zaf_fetch_url(){
|
||||||
@ -22,7 +21,7 @@ zaf_fetch_url(){
|
|||||||
# Download tgz and extract to /tmp/zaf-installer
|
# Download tgz and extract to /tmp/zaf-installer
|
||||||
zaf_download_files() {
|
zaf_download_files() {
|
||||||
rm -rf /tmp/zaf-installer
|
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
|
if ! [ -f README.md ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user