summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 08:04:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-27 08:04:26 +0000
commit9fb510d51f0dac3b91507cdfcbe014028b029d5b (patch)
treece7f40f80201ad032df85889b9121c48e9d65524
parentedf324d268cd5b28b21212bc7d3f3cee76a81d2f (diff)
downloadurpmi-9fb510d51f0dac3b91507cdfcbe014028b029d5b.tar
urpmi-9fb510d51f0dac3b91507cdfcbe014028b029d5b.tar.gz
urpmi-9fb510d51f0dac3b91507cdfcbe014028b029d5b.tar.bz2
urpmi-9fb510d51f0dac3b91507cdfcbe014028b029d5b.tar.xz
urpmi-9fb510d51f0dac3b91507cdfcbe014028b029d5b.zip
"noreconfigure" should work for both local and remote media
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index a685878d..f0caa9b1 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -996,7 +996,7 @@ sub update_media {
if (($prefix, $dir) = $medium->{url} =~ m!^(?:(removable[^:]*|file):/)?(/.*)!) {
$prefix ||= 'file';
#- check for a reconfig.urpmi file (if not already reconfigured)
- if (!$media_redone{$medium->{name}}) {
+ if (!$media_redone{$medium->{name}} and !$medium->{noreconfigure}) {
my $reconfig_urpmi = reduce_pathname("$dir/reconfig.urpmi");
if (-s $reconfig_urpmi && $urpm->reconfig_urpmi($reconfig_urpmi, $medium->{name})) {
$media_redone{$medium->{name}} = 1;