summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-09 11:10:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-09 11:10:43 +0000
commit658aa10bf4469cb014c3367d43584653156f23d1 (patch)
tree92cd9802cecd4b0af472e76052d58b788f793a50 /perl-install/install_steps.pm
parent95f48fa88c9b8458ac135b670f8309d049f830e2 (diff)
downloaddrakx-658aa10bf4469cb014c3367d43584653156f23d1.tar
drakx-658aa10bf4469cb014c3367d43584653156f23d1.tar.gz
drakx-658aa10bf4469cb014c3367d43584653156f23d1.tar.bz2
drakx-658aa10bf4469cb014c3367d43584653156f23d1.tar.xz
drakx-658aa10bf4469cb014c3367d43584653156f23d1.zip
remove previous report.bug.gz (otherwise one get a report.bug *and* the previous report.bug.gz)
(report.bug's are not rotated, ddebug.log's and install.log's are)
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 8e1771068..1d19588b5 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -991,6 +991,7 @@ sub exitInstall {
my ($o) = @_;
eval {
my $report = '/root/drakx/report.bug';
+ unlink $report, "$report.gz";
output "$o->{prefix}$report", install_any::report_bug($o->{prefix});
run_program::rooted($o->{prefix}, 'gzip', $report);
};