aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-27 09:20:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-07-27 09:20:04 +0000
commitccca23ea38de16dec1ccabb52c331d4a7c56aa47 (patch)
tree7dee81db6643b4b70c92e906db25665cbe3725a7
parent19196ed7f03e2de25b72c13f5117de53c14bec49 (diff)
downloadrpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar
rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.gz
rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.bz2
rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.xz
rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.zip
Fix crash case
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 3d946f3b..3375d3a3 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1335,7 +1335,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
}
$installable_pkgs{my_fullname($pkg)} = { selected => $selected, pkg => $pkg };
}
- if ($options{'pkg-sel'} || $options{'pkg-nosel'}) {
+ if ($options{'pkg-sel'} && $options{'pkg-nosel'}) {
push @{$options{'pkg-nosel'}}, @{$options{'pkg-sel'}};
delete $options{'pkg-sel'};
}