diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-09 02:39:55 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-09 02:39:55 +0000 |
commit | 681523336efe2e0a5e68f31923cb11828546e58f (patch) | |
tree | 3752df0322bda9a0b6817b4984181794781f0be3 /urpm.pm | |
parent | 1a2f82179ceb05bce8a90651af85862ea574f3ce (diff) | |
download | urpmi-681523336efe2e0a5e68f31923cb11828546e58f.tar urpmi-681523336efe2e0a5e68f31923cb11828546e58f.tar.gz urpmi-681523336efe2e0a5e68f31923cb11828546e58f.tar.bz2 urpmi-681523336efe2e0a5e68f31923cb11828546e58f.tar.xz urpmi-681523336efe2e0a5e68f31923cb11828546e58f.zip |
Document the "skip" option. Remove obsolete code.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -532,7 +532,7 @@ sub configure { unless ($options{noskipping}) { my %uniq; $urpm->compute_flags( - $urpm->get_packages_list($urpm->{skiplist}, $options{skip}), + get_packages_list($urpm->{skiplist}, $options{skip}), skip => 1, callback => sub { my ($urpm, $pkg) = @_; @@ -545,7 +545,7 @@ sub configure { unless ($options{noinstalling}) { my %uniq; $urpm->compute_flags( - $urpm->get_packages_list($urpm->{instlist}, $options{inst}), + get_packages_list($urpm->{instlist}), disable_obsolete => 1, callback => sub { my ($urpm, $pkg) = @_; @@ -2157,7 +2157,7 @@ sub create_transaction { #- 3. version specification (a comparison operator and a version number) #- 4. the rest of the line is ignored sub get_packages_list { - my ($urpm, $file, $extra) = @_; + my ($file, $extra) = @_; my %val; local $_; open my $f, $file or return {}; @@ -2170,12 +2170,6 @@ sub get_packages_list { close $f; \%val; } -#- for compability... -sub get_unwanted_packages { - my ($urpm, $skip) = @_; - print STDERR "calling obsoleted method urpm::get_unwanted_packages\n"; - get_packages_list($urpm->{skiplist}, $skip); -} #- select source for package selected. #- according to keys given in the packages hash. |