summaryrefslogtreecommitdiffstats
path: root/perl-install/install/pkgs.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-02 13:59:10 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-02 13:59:10 +0000
commit4423ea3eeeee83575bed0c41842a19dcec876c8f (patch)
treed184d2edc09b7f6b2b27721f4d0814396f37cfb9 /perl-install/install/pkgs.pm
parent06fb80ed2ea4efa423163efea5fa31607825792b (diff)
downloaddrakx-4423ea3eeeee83575bed0c41842a19dcec876c8f.tar
drakx-4423ea3eeeee83575bed0c41842a19dcec876c8f.tar.gz
drakx-4423ea3eeeee83575bed0c41842a19dcec876c8f.tar.bz2
drakx-4423ea3eeeee83575bed0c41842a19dcec876c8f.tar.xz
drakx-4423ea3eeeee83575bed0c41842a19dcec876c8f.zip
(empty_packages) use urpm rather than URPM (thus enabling us to reuse urpmi's
higher level code) (no changes for current callers since urpm inherits from URPM)
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r--perl-install/install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index b04fb30ce..785aae8c5 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -11,6 +11,7 @@ BEGIN {
use URPM;
use URPM::Resolve;
use URPM::Signature;
+use urpm;
use urpm::select;
use common;
use install::any;
@@ -326,7 +327,7 @@ sub unselectAllPackages {
sub empty_packages {
my ($o_keep_unrequested_dependencies) = @_;
- my $packages = new URPM;
+ my $packages = urpm->new;
#- add additional fields used by DrakX.
@$packages{qw(count media)} = (0, []);