1
0
mirror of https://github.com/limosek/zaf.git synced 2024-11-21 18:09:06 +01:00

REpaired typo

This commit is contained in:
Lukas Macura 2016-04-21 15:33:27 +02:00
parent 957c53958c
commit b017f0d982
2 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,7 @@ zaf_err() {
# Download tgz and extract to tmpdir
zaf_download_files() {
[ -n $ZAF_DIR ] && zaf_err "ZAF_DIR not set!"
[ -z $ZAF_DIR ] && zaf_err "ZAF_DIR not set!"
rm -rf $ZAF_DIR
zaf_fetch_url $ZAF_URL/archive/$ZAF_GITBRANCH.tar.gz | tar -f - -C $ZAF_TMP_DIR -zx && mv $ZAF_TMP_DIR/zaf-$ZAF_GITBRANCH $ZAF_DIR \
|| zaf_err "Cannot download and unpack zaf!"

1
zaf
View File

@ -242,7 +242,6 @@ self-upgrade)
shift
[ -z "$1" ] && auto=auto
zaf_os_specific zaf_check_deps zaf && zaf_err "Zaf is installed as system package. Cannot self-upgrade."
rm -rf /tmp/zaf-installer && mkdir /tmp/zaf-installer
if ! which curl >/dev/null;
then
zaf_err "Curl not found. Cannot continue. Please install it."