summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-28 17:30:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-28 17:30:27 +0000
commitd4e05ef6ea05525bf3b14ff1990e8864763ccb0f (patch)
tree80aebafc46e648795fa96c59af42dcd18591f3a2 /urpm/media.pm
parentc8d5d629efb6f2a6f24e14c1e77404f30b4792a9 (diff)
downloadurpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.gz
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.bz2
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.tar.xz
urpmi-d4e05ef6ea05525bf3b14ff1990e8864763ccb0f.zip
factorize default options, and have them by default in $urpm->{options}
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 90fbd167..9cd588cb 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -145,11 +145,6 @@ sub read_config {
eval { require urpm::ldap; urpm::ldap::load_ldap_media($urpm) };
- #- load default values
- foreach (qw(post-clean verify-rpm)) {
- exists $urpm->{options}{$_} or $urpm->{options}{$_} = 1;
- }
-
#- read MD5 sums (not in urpmi.cfg but in a separate file)
foreach (@{$urpm->{media}}) {
if (my $md5sum = urpm::md5sum::from_MD5SUM("$urpm->{statedir}/MD5SUM", statedir_hdlist_or_synthesis($urpm, $_, 's'))) {