summaryrefslogtreecommitdiffstats
path: root/urpm/ldap.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-14 13:44:33 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-14 13:44:33 +0000
commitd6a209622740f7568bb80bce826d3ec34bdf3954 (patch)
treef22597674b358df140a1224b21b1d166b595662e /urpm/ldap.pm
parent54ed4e4161c0838da939057e5b286e93f2423dfb (diff)
downloadurpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.gz
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.bz2
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.tar.xz
urpmi-d6a209622740f7568bb80bce826d3ec34bdf3954.zip
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o do not check wether the media are valid, it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work (nb: not equivalent with urpmi.addmedia, since pubkey will not be imported)
Diffstat (limited to 'urpm/ldap.pm')
-rw-r--r--urpm/ldap.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm
index 9a997fef..a2ab1e56 100644
--- a/urpm/ldap.pm
+++ b/urpm/ldap.pm
@@ -103,7 +103,7 @@ sub read_ldap_cache {
! -f $_ and next;
my %medium = get_vars_from_sh($_);
next if !check_ldap_medium(\%medium);
- urpm::media::add_existing_medium($urpm, \%medium);
+ urpm::media::add_existing_medium($urpm, \%medium, 'nocheck');
}
}
@@ -204,7 +204,7 @@ sub load_ldap_media {
$medium->{name} = "ldap_" . $medium->{name};
$medium->{ldap} = 1;
next if !check_ldap_medium($medium);
- urpm::media::add_existing_medium($urpm, $medium);
+ urpm::media::add_existing_medium($urpm, $medium, 'nocheck');
write_ldap_cache($urpm,$medium);
}
};