aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-20 09:19:07 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-20 09:19:07 +0000
commit79f8257307922ab6fc189d1031ab3c4517c52f3b (patch)
treeb97c05af6e21aaa36095dfe2823611ba985a01c7
parentecd6bdbe529ff98e817ff9f07cf360d1c25b456f (diff)
downloadrpmdrake-79f8257307922ab6fc189d1031ab3c4517c52f3b.tar
rpmdrake-79f8257307922ab6fc189d1031ab3c4517c52f3b.tar.gz
rpmdrake-79f8257307922ab6fc189d1031ab3c4517c52f3b.tar.bz2
rpmdrake-79f8257307922ab6fc189d1031ab3c4517c52f3b.tar.xz
rpmdrake-79f8257307922ab6fc189d1031ab3c4517c52f3b.zip
Fix Daouda's typo
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 1affde0d..d3f9eb50 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1269,7 +1269,7 @@ Then, restart %s.", $rpmdrake::myname_update)), myexit(-1);
$pkg->flag_installed or next;
any { $pkg->id >= $_->{start} && $pkg->id <= $_->{end} } @update_medias or next;
if ($options{'pkg-sel'} || $options{'pkg-nosel'}) {
- if ($#{$options{'pkg-sel'}} != -1 || $#{$option{'pkg-nosel'}} != -1) {
+ if ($#{$options{'pkg-sel'}} != -1 || $#{$options{'pkg-nosel'}} != -1) {
member(urpm_name($pkg), @{$options{'pkg-sel'}}, @{$options{'pkg-nosel'}}) or next;
member(urpm_name($pkg), @{$options{'pkg-sel'}}) and $selected = 1;
}