[pacman-dev] [PATCH] pacdiff: do not require DIFFPROG for -o/--output
25 Nov
2015
25 Nov
'15
10:58 a.m.
Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> --- contrib/pacdiff.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pacdiff.sh.in b/contrib/pacdiff.sh.in index 90eb3cc..a4faba2 100644 --- a/contrib/pacdiff.sh.in +++ b/contrib/pacdiff.sh.in @@ -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 -- 2.6.2
3273
Age (days ago)
3273
Last active (days ago)
0 comments
1 participants
participants (1)
-
Evangelos Foutras