summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-10-18 08:43:54 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.com>2006-10-18 08:43:54 +0000
commit7794bfa7c8482bdd653bc06291ea5323b74de346 (patch)
tree6bf01c18a7aaa532c33cac34f0ee65eda79196cc /urpmi
parent4738ea615da13b03bc03d2d5ace833c1a61bdbf8 (diff)
downloadurpmi-7794bfa7c8482bdd653bc06291ea5323b74de346.tar
urpmi-7794bfa7c8482bdd653bc06291ea5323b74de346.tar.gz
urpmi-7794bfa7c8482bdd653bc06291ea5323b74de346.tar.bz2
urpmi-7794bfa7c8482bdd653bc06291ea5323b74de346.tar.xz
urpmi-7794bfa7c8482bdd653bc06291ea5323b74de346.zip
Add --no-md5sum and --force-key options to urpmi
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi6
1 files changed, 6 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index c0361437..5aba76fb 100755
--- a/urpmi
+++ b/urpmi
@@ -60,6 +60,8 @@ our $usedistrib = 0;
our $logfile = '';
our $restricted = 0;
our $nolock = 0;
+our $nomd5sum = 0;
+our $forcekey = 0;
my @files;
my @src_files;
@@ -133,6 +135,8 @@ usage:
") . N(" --ignoresize - don't verify disk space before installation.
") . N(" --ignorearch - allow to install rpms for unmatched architectures.
") . N(" --noscripts - do not execute package scriptlet(s)
+") . N(" --no-md5sum - disable MD5SUM file checking.
+") . N(" --force-key - force update of gpg key.
") . N(" --repackage - Re-package the files before erasing
") . N(" --skip - packages which installation should be skipped
") . N(" --more-choices - when several packages are found, propose more choices
@@ -366,6 +370,8 @@ if ($auto_update && !$bug && !$env) {
noclean => $noclean,
norebuild => $urpm->{options}{norebuild},
quiet => $verbose < 0,
+ nomd5sum => $nomd5sum,
+ forcekey => $forcekey,
);
foreach (@{$urpm->{media} || []}) {
$_->{tempignore} and delete $_->{ignore};