From 5a72ffd3213ca4e10c0d29000eda11cf66e0a06e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 9 Jul 2002 02:55:32 +0000 Subject: Remove pdf if emailed. --- pdfdistiller | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdfdistiller b/pdfdistiller index 6c13286..355e90e 100755 --- a/pdfdistiller +++ b/pdfdistiller @@ -75,8 +75,10 @@ chmod a+r $OUTPUTFILENAME if [ "$2" != "" ]; then if [ -x /usr/bin/mime-construct ]; then /usr/bin/mime-construct --to "$2" --subject "PDF print" --type application/pdf --file $OUTPUTFILENAME + rm $OUTPUTFILENAME elif [ -x /usr/bin/mimeit ]; then cat $OUTPUTFILENAME | /usr/bin/mimeit application/pdf $2 "PDF print" + rm $OUTPUTFILENAME else chown $2 $OUTPUTFILENAME fi -- cgit v1.2.3