diff options
author | Mark H Weaver <mhw@netris.org> | 2018-05-21 13:22:32 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2018-05-21 13:22:32 -0400 |
commit | 0661758e133c0384d20043d3526b5ebc794e1f04 (patch) | |
tree | 46fb6d731fd0e562379ecfffba499deb17847a23 /etc | |
parent | 539bf8f2c071b53834829259bb3fabf0390c5dc6 (diff) | |
parent | c036959b1a61c37c9b7d72e655e1441f2feefb6e (diff) | |
download | guix-0661758e133c0384d20043d3526b5ebc794e1f04.tar guix-0661758e133c0384d20043d3526b5ebc794e1f04.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/guix-install.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 78cd7580bb..d9f1955098 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -86,9 +86,7 @@ chk_require() _debug "--- [ $FUNCNAME ] ---" for c in ${cmds[@]}; do - command -v "$c" &>/dev/null - [ "$?" -eq "1" ] && - warn+=("$c") + command -v "$c" &>/dev/null || warn+=("$c") done [ "${#warn}" -ne 0 ] && |