1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-21 23:38:49 -05:00

pacdiff: do not require DIFFPROG for -o/--output

Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Evangelos Foutras 2015-11-25 12:58:39 +02:00 committed by Allan McRae
parent 5312e683fc
commit 34bbe4cf7b

View File

@ -118,7 +118,7 @@ done
m4_include(../scripts/library/term_colors.sh)
if ! type -p ${diffprog%% *} >/dev/null; then
if ! type -p ${diffprog%% *} >/dev/null && (( ! OUTPUTONLY )); then
error "Cannot find the $diffprog binary required for viewing differences."
exit 1
fi