X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;h=60eaac6d9b717aaa62312b7c806c567fbde0aeae;hp=9f1d7a6fc0619a486b2bd99ac12cce26cbe4a91c;hb=833547365c4418946c1c270f43928164d51cf531;hpb=e202198ab2a701ac6f6bfcfb67171b97801ab976 diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 9f1d7a6fc..60eaac6d9 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1109,9 +1109,7 @@ sub print_ps { open(POSTSCRIPT, "<$file.ps") or die "can't open $file.ps (probable error in LaTeX template): $!\n"; - #rm $file.dvi $file.log $file.aux - unlink("$file.dvi", "$file.log", "$file.aux", "$file.ps"); - #unlink("$file.dvi", "$file.log", "$file.aux"); + unlink("$file.dvi", "$file.log", "$file.aux", "$file.ps", "$file.tex"); my $ps = ''; while () { @@ -1154,7 +1152,7 @@ sub print_pdf { open(PDF, "<$file.pdf") or die "can't open $file.pdf (probably error in LaTeX tempalte: $!\n"; - unlink("$file.dvi", "$file.log", "$file.aux", "$file.pdf"); + unlink("$file.dvi", "$file.log", "$file.aux", "$file.pdf", "$file.tex"); my $pdf = ''; while () {