summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2004-01-21 22:10:10 +0000
committerivan <ivan>2004-01-21 22:10:10 +0000
commit617592ba17ec61103e1bd6477cdd5f27cba66a1c (patch)
treee96e1729b1173d37feb0b241263c20b16ebad66f
parent942e2c957a8e4167de046b2ad79523cf6b8308c8 (diff)
clean up all temp files!
-rw-r--r--FS/FS/cust_bill.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 433ef7420..10088f395 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1501,9 +1501,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 (<POSTSCRIPT>) {
@@ -1546,7 +1544,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 (<PDF>) {