aboutsummaryrefslogtreecommitdiffstats
path: root/grpmi/grpmi.pl
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-09-04 13:48:59 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-09-04 13:48:59 +0000
commit53dcbb5e6a31910f626605f36e68e8b383ad91da (patch)
tree16c0e7d78f4fdb70ebf1aad179a7ef39942c5698 /grpmi/grpmi.pl
parent6ea43acd0e8f17de53d77a1b17147894a659e4d7 (diff)
downloadrpmdrake-53dcbb5e6a31910f626605f36e68e8b383ad91da.tar
rpmdrake-53dcbb5e6a31910f626605f36e68e8b383ad91da.tar.gz
rpmdrake-53dcbb5e6a31910f626605f36e68e8b383ad91da.tar.bz2
rpmdrake-53dcbb5e6a31910f626605f36e68e8b383ad91da.tar.xz
rpmdrake-53dcbb5e6a31910f626605f36e68e8b383ad91da.zip
add option "--no-verify-rpm" to not verify packages signatures
Diffstat (limited to 'grpmi/grpmi.pl')
-rwxr-xr-xgrpmi/grpmi.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/grpmi/grpmi.pl b/grpmi/grpmi.pl
index 920602b2..06af2ac1 100755
--- a/grpmi/grpmi.pl
+++ b/grpmi/grpmi.pl
@@ -28,7 +28,7 @@ use lib qw(/usr/lib/libDrakX);
use my_gtk qw(:helpers :wrappers);
$::isStandalone = 1;
-@ARGV or die "usage: ", basename($0), " <[-noupgrade] PACKAGE>...\n";
+@ARGV or die "usage: ", basename($0), " [--no-verify-rpm] <[-noupgrade] PACKAGE>...\n";
sub translate {
my ($s) = @_;
@@ -106,7 +106,7 @@ Do you want to continue (skipping this package)?", $url, $res), 1) or goto clean
}
}
- if ($ARGV[$i] !~ /^-/) {
+ if ($ARGV[$i] !~ /^-/ && !member('--no-verify-rpm', @ARGV)) {
if (-f $ARGV[$i]) {
$label->set(_("Verifying signature of `%s'...", basename($ARGV[$i]))); $mainw->flush;
my $res = grpmi_rpm::verify_sig("$ARGV[$i]");