summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-09 10:55:49 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-09 10:55:49 +0000
commit6cf4b382b54a0172dd55eaaa3862ae220860b7d1 (patch)
treea45da04091a435ebb34ab968385e9d33824b95f7
parent3baae7cd9e6ee09314f124c623ec1e3ccf0bd308 (diff)
downloadurpmi-6cf4b382b54a0172dd55eaaa3862ae220860b7d1.tar
urpmi-6cf4b382b54a0172dd55eaaa3862ae220860b7d1.tar.gz
urpmi-6cf4b382b54a0172dd55eaaa3862ae220860b7d1.tar.bz2
urpmi-6cf4b382b54a0172dd55eaaa3862ae220860b7d1.tar.xz
urpmi-6cf4b382b54a0172dd55eaaa3862ae220860b7d1.zip
Make --no-verify-rpm work for gurpmi
-rw-r--r--gurpmi.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 4b972410..7fd3693a 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -52,7 +52,10 @@ sub parse_command_line {
}
foreach (@ARGV_expanded) {
if (/^-/) {
- $_ eq '--no-verify-rpm' and $options{'no-verify-rpm'} = 1;
+ if ($_ eq '--no-verify-rpm') {
+ $options{'no-verify-rpm'} = 1;
+ next;
+ }
/^--?[hv?]/ and usage();
fatal(N("Unknown option %s", $_));
}