summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-24 16:15:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-01-24 16:15:29 +0000
commit966c3455e83e8421f9e76b73502477af2d5397b2 (patch)
tree9b22efb6752d67345c049ce5befc8c980142d46c /gurpmi
parent27f824577805d11bd50f5fcdefa4343c5b32b028 (diff)
downloadurpmi-966c3455e83e8421f9e76b73502477af2d5397b2.tar
urpmi-966c3455e83e8421f9e76b73502477af2d5397b2.tar.gz
urpmi-966c3455e83e8421f9e76b73502477af2d5397b2.tar.bz2
urpmi-966c3455e83e8421f9e76b73502477af2d5397b2.tar.xz
urpmi-966c3455e83e8421f9e76b73502477af2d5397b2.zip
Add support for --no-verify-rpm to gurpmi
Diffstat (limited to 'gurpmi')
-rw-r--r--gurpmi15
1 files changed, 2 insertions, 13 deletions
diff --git a/gurpmi b/gurpmi
index 0dcabcbb..96c1c25d 100644
--- a/gurpmi
+++ b/gurpmi
@@ -16,20 +16,9 @@ use Gtk2;
use MDK::Common::Func qw(partition);
#- globals
-my (@all_rpms, $srpms, $rpms);
+my ($srpms, $rpms);
my ($mainw, $mainbox);
-
-#- Gtk2 helper functions
-
-#- Parse command line
-foreach (@ARGV) {
- if (/^-/) {
- /^--?[hv?]/ and usage();
- fatal(N("Unknown option %s", $_));
- }
- push @all_rpms, $_;
-}
-@all_rpms or fatal(N("No packages specified"));
+my @all_rpms = gurpmi::parse_command_line();
#- Now, the graphical stuff.