summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index fc3d77c6..c8d3dcda 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -836,6 +836,7 @@ sub add_medium {
my $medium = { name => $name,
url => $url,
modified => !$options{ignore},
+ (defined $options{'verify-rpm'} ? ('verify-rpm' => $options{'verify-rpm'}) : ()),
};
foreach (qw(downloader update ignore media_info_dir mirrorlist with-dir xml-info)) {
$medium->{$_} = $options{$_} if exists $options{$_};