summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-10-22 20:07:19 +0000
committerColin Guthrie <colin@mageia.org>2012-10-22 20:07:19 +0000
commitae0e9fa5ba2035f005086f238e5dbba57108e391 (patch)
tree4fb7ac31880d6ef5e22fa56aa638833e0a105e09 /perl-install
parenta7c3889b5a05102ffadca41bcb5f75b8f5861e7d (diff)
downloaddrakx-backup-do-not-use-ae0e9fa5ba2035f005086f238e5dbba57108e391.tar
drakx-backup-do-not-use-ae0e9fa5ba2035f005086f238e5dbba57108e391.tar.gz
drakx-backup-do-not-use-ae0e9fa5ba2035f005086f238e5dbba57108e391.tar.bz2
drakx-backup-do-not-use-ae0e9fa5ba2035f005086f238e5dbba57108e391.tar.xz
drakx-backup-do-not-use-ae0e9fa5ba2035f005086f238e5dbba57108e391.zip
minor tidyup (collapse redundant if)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/steps.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index f006e5f6d..54f322632 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -324,10 +324,8 @@ sub beforeInstallPackages {
if ($o->{isUpgrade}) {
$o->{modules_conf}->merge_into(modules::any_conf->read);
- }
- #- save these files in case of upgrade failure.
- if ($o->{isUpgrade}) {
+ #- save these files in case of upgrade failure.
foreach (@filesToSaveForUpgrade) {
unlink "$::prefix/$_.mdkgisave";
if (-e "$::prefix/$_") {