1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-24 19:39:08 +01:00

Added default version strings

This commit is contained in:
Lukas Macura 2016-04-12 15:37:28 +02:00
parent 3cbd3a3702
commit 86b921dad2

View File

@ -3,10 +3,12 @@
[ -z "$ZAF_DEBUG" ] && ZAF_DEBUG=1 [ -z "$ZAF_DEBUG" ] && ZAF_DEBUG=1
if [ -z "$ZAF_URL" ]; then if [ -z "$ZAF_URL" ]; then
# Runing as standalone install.sh. We have to download rest of files first. # Runing as standalone install.sh. We have to download rest of files first.
[ -z "$ZAF_GITBRANCH" ] && ZAF_GITBRANCH=master
ZAF_URL="https://github.com/limosek/zaf/" ZAF_URL="https://github.com/limosek/zaf/"
fi 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 # Lite version of zaf_fetch_url, full version will be loaded later
zaf_fetch_url(){ zaf_fetch_url(){
if [ -z "$ZAF_OFFLINE" ]; then if [ -z "$ZAF_OFFLINE" ]; then