diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-08-19 01:00:04 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-08-19 01:00:04 +0000 |
commit | bed12e9a6ffb01270ade5146a744e6b6a0a3a496 (patch) | |
tree | e0e589d84a0a8b2b42bccf1d8940d416cae8bf2c /pdfdistiller | |
parent | 2687e9a7b27ea09f16a93588e6baac0f28c515db (diff) |
pdfdistiller: Add logline about sending the pdf file.
Diffstat (limited to 'pdfdistiller')
-rwxr-xr-x | pdfdistiller | 2 |
1 files changed, 2 insertions, 0 deletions
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 |