summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-04-05 17:37:21 +0000
committerThierry Vignaud <tv@mageia.org>2012-04-05 17:37:21 +0000
commit726b74e4aa4e326d2759a7a2135f08cd484cbc91 (patch)
tree719543bb31df7f11c888955e79a02bb2ed985356 /perl-install/install/steps.pm
parentcca12d476d72e22e72e6282ddbff4e852a344418 (diff)
downloaddrakx-backup-do-not-use-726b74e4aa4e326d2759a7a2135f08cd484cbc91.tar
drakx-backup-do-not-use-726b74e4aa4e326d2759a7a2135f08cd484cbc91.tar.gz
drakx-backup-do-not-use-726b74e4aa4e326d2759a7a2135f08cd484cbc91.tar.bz2
drakx-backup-do-not-use-726b74e4aa4e326d2759a7a2135f08cd484cbc91.tar.xz
drakx-backup-do-not-use-726b74e4aa4e326d2759a7a2135f08cd484cbc91.zip
do not set security level to its own value on upgrade (mga#5147)
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index c9d2dde5c..53e87f0c3 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -813,7 +813,7 @@ sub miscellaneousAfter {
addToBeDone {
addVarsInSh("$::prefix/etc/sysconfig/system", { META_CLASS => $o->{meta_class} });
- eval { install::any::set_security($o) };
+ eval { install::any::set_security($o) } if !$o->{isUpgrade};
} 'installPackages';
}