diff options
author | Colin Guthrie <colin@mageia.org> | 2012-10-22 20:07:19 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-10-22 20:07:19 +0000 |
commit | 216a03fc068389d5708ddaa966de57089dbafb93 (patch) | |
tree | 4fb7ac31880d6ef5e22fa56aa638833e0a105e09 | |
parent | 70979999a3f65fa95cd987f15fc31b1cfa0c58c1 (diff) | |
download | drakx-216a03fc068389d5708ddaa966de57089dbafb93.tar drakx-216a03fc068389d5708ddaa966de57089dbafb93.tar.gz drakx-216a03fc068389d5708ddaa966de57089dbafb93.tar.bz2 drakx-216a03fc068389d5708ddaa966de57089dbafb93.tar.xz drakx-216a03fc068389d5708ddaa966de57089dbafb93.zip |
minor tidyup (collapse redundant if)
-rw-r--r-- | perl-install/install/steps.pm | 4 |
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/$_") { |