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:
parent
5312e683fc
commit
34bbe4cf7b
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ done
|
||||||
|
|
||||||
m4_include(../scripts/library/term_colors.sh)
|
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."
|
error "Cannot find the $diffprog binary required for viewing differences."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue