summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-29 09:40:49 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-29 09:40:49 +0000
commitf6c7d40924ba941dd18d85446ae980c56cf1367d (patch)
tree0b53e7710c6d84c40a21da9d080b5f4593ac6c86 /urpm.pm
parent451d040fd9c7322c5b528898c93c4a7463c64f0d (diff)
downloadurpmi-f6c7d40924ba941dd18d85446ae980c56cf1367d.tar
urpmi-f6c7d40924ba941dd18d85446ae980c56cf1367d.tar.gz
urpmi-f6c7d40924ba941dd18d85446ae980c56cf1367d.tar.bz2
urpmi-f6c7d40924ba941dd18d85446ae980c56cf1367d.tar.xz
urpmi-f6c7d40924ba941dd18d85446ae980c56cf1367d.zip
4.0-8mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index a88bbf5d..4b19c488 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1,10 +1,10 @@
package urpm;
use strict;
-use vars qw($VERSION @ISA);
+use vars qw($VERSION);
+use base 'URPM';
$VERSION = '4.0';
-@ISA = qw(URPM);
=head1 NAME
@@ -1635,6 +1635,8 @@ sub search_packages {
sub resolve_dependencies {
my ($urpm, $state, $requested, %options) = @_;
+ require URPM::Resolve;
+
if ($urpm->{parallel_handler}) {
#- let each node determine what is requested, according to handler given.
$urpm->{parallel_handler}->parallel_resolve_dependencies("$urpm->{cachedir}/partial/parallel.cz", @_);
@@ -1652,7 +1654,6 @@ sub resolve_dependencies {
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;
- require URPM::Resolve;
#- auto select package for upgrading the distribution.
$options{auto_select} and $urpm->request_packages_to_upgrade($db, $state, $requested, requested => undef);