From 1f8f592163376bb5cbd29e5447ecbe279d1e6cec Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 23 Mar 2013 18:09:57 +0400 Subject: [PATCH] Consistency --- llppac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llppac b/llppac index 4040ee7..e5cd13a 100755 --- a/llppac +++ b/llppac @@ -47,7 +47,7 @@ case $mime in application/pdf) test -z $dc && exec llpp "$1" || conv='cat >$casp';; image/vnd.djvu) conv='djvups - | ps2pdf - $casp';; text/html) { - test -z $dc || die "can not handle compressed htmls" + ! test -z $dc && die "can not convert compressed $mime" unset filt conv='prince "$1" -o $casp' };; @@ -75,7 +75,7 @@ case $mime in };; image/*) conv='convert - pdf:$casp';; application/x-dvi) { - test -z $dc || die "can not handle compressed DVIs" + ! test -z $dc && die "can not convert compressed $mime" unset filt conv='dvipdf $1 $casp' };; -- 2.11.4.GIT