diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:44:33 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-14 13:44:33 +0000 |
commit | d6a209622740f7568bb80bce826d3ec34bdf3954 (patch) | |
tree | f22597674b358df140a1224b21b1d166b595662e /urpm/ldap.pm | |
parent | 54ed4e4161c0838da939057e5b286e93f2423dfb (diff) | |
download | urpmi-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.pm | 4 |
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); } }; |