From bed12e9a6ffb01270ade5146a744e6b6a0a3a496 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 19 Aug 2002 01:00:04 +0000 Subject: pdfdistiller: Add logline about sending the pdf file. --- pdfdistiller | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdfdistiller b/pdfdistiller index 6a6497d..9a3298f 100755 --- a/pdfdistiller +++ b/pdfdistiller @@ -86,9 +86,11 @@ chmod a+r $OUTPUTFILENAME if [ "$user" != "" ]; then if [ -x /usr/bin/mime-construct ]; then + echo "Send as pdf to $user using mime-construct" >> $LOGFILE /usr/bin/mime-construct --to "$user" --subject "PDF print" --type application/pdf --attachment `basename $OUTPUTFILENAME` --file $OUTPUTFILENAME \ && rm $OUTPUTFILENAME elif [ -x /usr/bin/mimeit ]; then + echo "Send as pdf to $user using mimeit" >> $LOGFILE cat $OUTPUTFILENAME | /usr/bin/mimeit application/pdf $user "PDF print" \ && rm $OUTPUTFILENAME else -- cgit v1.2.3