diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 08:04:26 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-27 08:04:26 +0000 |
commit | 9fb510d51f0dac3b91507cdfcbe014028b029d5b (patch) | |
tree | ce7f40f80201ad032df85889b9121c48e9d65524 | |
parent | edf324d268cd5b28b21212bc7d3f3cee76a81d2f (diff) | |
download | urpmi-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.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |