mirror of
https://github.com/limosek/zaf.git
synced 2024-11-22 02:19:06 +01:00
which => zaf_which
This commit is contained in:
parent
72ef383146
commit
006a9fc99b
2
zaf
2
zaf
@ -221,7 +221,7 @@ self-upgrade)
|
|||||||
shift
|
shift
|
||||||
[ -z "$1" ] && auto=auto
|
[ -z "$1" ] && auto=auto
|
||||||
zaf_os_specific zaf_check_deps zaf && zaf_err "Zaf is installed as system package. Cannot self-upgrade."
|
zaf_os_specific zaf_check_deps zaf && zaf_err "Zaf is installed as system package. Cannot self-upgrade."
|
||||||
if ! which curl >/dev/null;
|
if ! zaf_which curl >/dev/null;
|
||||||
then
|
then
|
||||||
zaf_err "Curl not found. Cannot continue. Please install it."
|
zaf_err "Curl not found. Cannot continue. Please install it."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user