summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-22 11:46:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-22 11:46:01 +0000
commit6c1b412b6039a3c4f28def612a685e1e7a1d931b (patch)
treee353f17a5d7d158f6167fdb04806aac231a7ec19 /urpm
parent2f17b0a483b22e9011009d662f0509e4c8e8a7da (diff)
downloadurpmi-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
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm3
1 files changed, 2 insertions, 1 deletions
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) = @_;