summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-26 11:54:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-26 11:54:27 +0000
commitfdfdc5b65dd6d1737d263742b9b2a378f5315446 (patch)
tree7321b82fdf263fe02d5054e08548c235bbb0e558 /perl-install/install_steps.pm
parentd4a76c3bc4753efc94c0a59dffa9dca9bcb92f1c (diff)
downloaddrakx-backup-do-not-use-fdfdc5b65dd6d1737d263742b9b2a378f5315446.tar
drakx-backup-do-not-use-fdfdc5b65dd6d1737d263742b9b2a378f5315446.tar.gz
drakx-backup-do-not-use-fdfdc5b65dd6d1737d263742b9b2a378f5315446.tar.bz2
drakx-backup-do-not-use-fdfdc5b65dd6d1737d263742b9b2a378f5315446.tar.xz
drakx-backup-do-not-use-fdfdc5b65dd6d1737d263742b9b2a378f5315446.zip
fix deleting previous report.bug when upgrading
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm6
1 files 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,