summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;