which => zaf_which

1.3
Lukas Macura 2016-11-21 18:20:03 +01:00
parent 72ef383146
commit 006a9fc99b
1 changed files with 1 additions and 1 deletions

2
zaf
View File

@ -221,7 +221,7 @@ 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."
if ! which curl >/dev/null;
if ! zaf_which curl >/dev/null;
then
zaf_err "Curl not found. Cannot continue. Please install it."
fi