diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 11:46:01 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-22 11:46:01 +0000 |
commit | 6c1b412b6039a3c4f28def612a685e1e7a1d931b (patch) | |
tree | e353f17a5d7d158f6167fdb04806aac231a7ec19 | |
parent | 2f17b0a483b22e9011009d662f0509e4c8e8a7da (diff) | |
download | urpmi-6c1b412b6039a3c4f28def612a685e1e7a1d931b.tar urpmi-6c1b412b6039a3c4f28def612a685e1e7a1d931b.tar.gz urpmi-6c1b412b6039a3c4f28def612a685e1e7a1d931b.tar.bz2 urpmi-6c1b412b6039a3c4f28def612a685e1e7a1d931b.tar.xz urpmi-6c1b412b6039a3c4f28def612a685e1e7a1d931b.zip |
- urpme, urpmi:
o add basesystem-minimal to prohibit-remove
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/select.pm | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- urpme, urpmi: + o add basesystem-minimal to prohibit-remove + Version 5.2 - 18 January 2008, by Pascal "Pixel" Rigaux - urpmi: diff --git a/urpm/select.pm b/urpm/select.pm index a0201426..0dd8106a 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -453,7 +453,8 @@ sub find_removed_from_basesystem { my ($urpm, $db, $state, $callback_base) = @_; if ($callback_base && %{$state->{rejected} || {}}) { my %basepackages; - my @dont_remove = ('basesystem', split /,\s*/, $urpm->{global_config}{'prohibit-remove'}); + my @dont_remove = ('basesystem', 'basesystem-minimal', + split /,\s*/, $urpm->{global_config}{'prohibit-remove'}); #- check if a package to be removed is a part of basesystem requires. $db->traverse_tag('whatprovides', \@dont_remove, sub { my ($p) = @_; |