From fdfdc5b65dd6d1737d263742b9b2a378f5315446 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 26 Aug 2002 11:54:27 +0000 Subject: fix deleting previous report.bug when upgrading --- perl-install/install_steps.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 8ed192198..8154b2f93 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -973,9 +973,9 @@ 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); + unlink "$::prefix$report", "$::prefix$report.gz"; + output "$::prefix$report", install_any::report_bug($o->{prefix}); + run_program::rooted($::prefix, 'gzip', $report); }; install_any::getAndSaveAutoInstallFloppy($o, 1, "$o->{prefix}/root/drakx/replay_install.img"); eval { output "$o->{prefix}/root/drakx/README", "This directory contains several installation-related files, -- cgit v1.2.1