diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-04 13:43:51 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-04 13:43:51 +0000 |
commit | 487f81216dc6165af71e71dd854fd88794840449 (patch) | |
tree | d79e041f221ae1dd72c02c2aa048bda1d6da04be /urpm | |
parent | b1c11ca78832a68f63ad07d7e7c70d30be96472a (diff) | |
download | urpmi-487f81216dc6165af71e71dd854fd88794840449.tar urpmi-487f81216dc6165af71e71dd854fd88794840449.tar.gz urpmi-487f81216dc6165af71e71dd854fd88794840449.tar.bz2 urpmi-487f81216dc6165af71e71dd854fd88794840449.tar.xz urpmi-487f81216dc6165af71e71dd854fd88794840449.zip |
(set_priority_upgrade_option) split default priority upgrade list
needed for next commit
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/select.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index 0dd8106a..320fb445 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -7,6 +7,8 @@ use urpm::util; use urpm::sys; use URPM; +my $default_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc'; + sub set_priority_upgrade_option { my ($urpm, $previous) = @_; @@ -14,7 +16,7 @@ sub set_priority_upgrade_option { # comma-separated list of packages that should be installed first, # and that trigger an urpmi restart - my $list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc'; + my $list = $default_list; if ($previous) { if ($previous eq $list) { $list = ''; |