summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-06-17 15:44:07 +0000
committerFrancois Pons <fpons@mandriva.com>2002-06-17 15:44:07 +0000
commitb4bfc2535199e3c659aaad1d4990ae6290a72dcc (patch)
treef7beff677c41a1daec113893876dc54eabb660c8 /urpmq
parent9bde3bd997faff8dc7ee96b3c6726efe9d796a89 (diff)
downloadurpmi-b4bfc2535199e3c659aaad1d4990ae6290a72dcc.tar
urpmi-b4bfc2535199e3c659aaad1d4990ae6290a72dcc.tar.gz
urpmi-b4bfc2535199e3c659aaad1d4990ae6290a72dcc.tar.bz2
urpmi-b4bfc2535199e3c659aaad1d4990ae6290a72dcc.tar.xz
urpmi-b4bfc2535199e3c659aaad1d4990ae6290a72dcc.zip
3.5-5mdk
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index e2b3982d..4c70eaff 100755
--- a/urpmq
+++ b/urpmq
@@ -156,7 +156,7 @@ if ($query->{auto_select} || $query->{deps}) {
$urpm->resolve_packages_to_upgrade($db, $state, requested => 0);
- if (%{$state->{ask_remove}} || %{$state->{ask_unselect}}) {
+ if (%{$state->{ask_remove} || {}} || %{$state->{ask_unselect} || {}}) {
$urpm->{error}(_("some packages have to be removed for being upgraded, this is not supported yet\n"));
}
}