summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2006-11-28 12:05:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2006-11-28 12:05:11 +0000
commitc510ef70c40545fc14209b2afc414ef137264105 (patch)
tree06e9059c7c19fa746367733917a1e214718847f5 /urpm/select.pm
parentf076742409681509eee3d28369b21f495ed19d42 (diff)
downloadurpmi-c510ef70c40545fc14209b2afc414ef137264105.tar
urpmi-c510ef70c40545fc14209b2afc414ef137264105.tar.gz
urpmi-c510ef70c40545fc14209b2afc414ef137264105.tar.bz2
urpmi-c510ef70c40545fc14209b2afc414ef137264105.tar.xz
urpmi-c510ef70c40545fc14209b2afc414ef137264105.zip
move uniq to urpm::util (i need it in urpm::media)
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 3abf6507..fa018352 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -368,8 +368,6 @@ sub unselected_packages {
grep { $state->{rejected}{$_}{backtrack} } keys %{$state->{rejected} || {}};
}
-sub uniq { my %l; $l{$_} = 1 foreach @_; grep { delete $l{$_} } @_ }
-
sub translate_why_unselected {
my ($urpm, $state, @fullnames) = @_;