diff options
-rw-r--r-- | urpm.pm | 3 | ||||
-rw-r--r-- | urpm/cfg.pm | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -164,6 +164,7 @@ sub read_config { key-ids list md5sum + noreconfigure removable synthesis update @@ -1287,7 +1288,7 @@ this could happen if you mounted manually the directory when creating the medium } } else { #- 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_url = "$medium->{url}/reconfig.urpmi"; unlink( my $reconfig_urpmi = "$urpm->{cachedir}/partial/reconfig.urpmi" ); eval { diff --git a/urpm/cfg.pm b/urpm/cfg.pm index 00495045..f9babd84 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -97,7 +97,7 @@ sub load_config ($) { /^key[-_]ids\s*:\s*['"]?(.*?)['"]?$/ and $config{$medium}{'key-ids'} = $1, next; #- positive flags - /^(update|ignore|synthesis|virtual)$/ + /^(update|ignore|synthesis|virtual|noreconfigure)$/ and $config{$medium}{$1} = 1, next; my ($no, $k, $v); #- boolean options |