aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 44bce520..20f6300b 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -33,7 +33,7 @@ $> and (exec {'consolehelper'} $0, @ARGV or die "consolehelper missing");
use lib qw(/usr/lib/libDrakX);
use strict;
-use vars qw($MODE %options $XID $CCPID);
+use vars qw($MODE %options);
use rpmdrake;
@@ -314,7 +314,7 @@ or you already installed all of them."));
grep { $pkgs->{$_}{selected} } keys %$pkgs });
$deps_msg->(_("Some packages can't be removed"),
_("Because of their dependencies, the following package(s) must be\nunselected now:\n\n"),
- \@nodes, \@nodes_with_deps);
+ \@nodes, \@nodes_with_deps) or @nodes_with_deps = ();
}
} else {
if ($new_state) {