diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-09-17 09:22:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-09-17 09:22:07 +0000 |
commit | 679c36da30fb6f58eacf8a80265f432664812e89 (patch) | |
tree | 7b9542512399f18f6512dbaca93a057c50cfcd90 /perl-install | |
parent | b976d170c3114a8d0f313161a05c0bf20c2152b4 (diff) | |
download | drakx-backup-do-not-use-679c36da30fb6f58eacf8a80265f432664812e89.tar drakx-backup-do-not-use-679c36da30fb6f58eacf8a80265f432664812e89.tar.gz drakx-backup-do-not-use-679c36da30fb6f58eacf8a80265f432664812e89.tar.bz2 drakx-backup-do-not-use-679c36da30fb6f58eacf8a80265f432664812e89.tar.xz drakx-backup-do-not-use-679c36da30fb6f58eacf8a80265f432664812e89.zip |
(live_patch_URPM) split it out of upgrading_redhat()
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/steps.pm | 12 |
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) = @_; |