summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/steps.pm12
1 files changed, 8 insertions, 4 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index 15d8d4327..81daf684f 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -277,10 +277,7 @@ sub choosePackages {
$availableCorrected;
}
-sub upgrading_redhat() {
- #- remove weird config files that bother Xconfig::* too much
- unlink "$::prefix/etc/X11/XF86Config";
- unlink "$::prefix/etc/X11/XF86Config-4";
+sub live_patch_URPM() {
sub prefering_mga {
my ($lpkg, $rpkg_ver, $c) = @_;
@@ -314,6 +311,13 @@ sub upgrading_redhat() {
};
}
+sub upgrading_redhat() {
+ #- remove weird config files that bother Xconfig::* too much
+ unlink "$::prefix/etc/X11/XF86Config";
+ unlink "$::prefix/etc/X11/XF86Config-4";
+ live_patch_URPM();
+}
+
sub beforeInstallPackages {
my ($o) = @_;