diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-07-27 09:20:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-07-27 09:20:04 +0000 |
commit | ccca23ea38de16dec1ccabb52c331d4a7c56aa47 (patch) | |
tree | 7dee81db6643b4b70c92e906db25665cbe3725a7 | |
parent | 19196ed7f03e2de25b72c13f5117de53c14bec49 (diff) | |
download | rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.gz rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.bz2 rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.tar.xz rpmdrake-ccca23ea38de16dec1ccabb52c331d4a7c56aa47.zip |
Fix crash case
-rwxr-xr-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'}; } |