summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-26 01:09:59 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-07-26 01:09:59 +0000
commitd2dff5993cab6360557eda7d3f68d2fed47c6629 (patch)
tree3934420eb132220434316562f74d6aadd19393bd /urpm
parent0e345d483f0116470e3b5438696f5b7699fd20dd (diff)
downloadurpmi-d2dff5993cab6360557eda7d3f68d2fed47c6629.tar
urpmi-d2dff5993cab6360557eda7d3f68d2fed47c6629.tar.gz
urpmi-d2dff5993cab6360557eda7d3f68d2fed47c6629.tar.bz2
urpmi-d2dff5993cab6360557eda7d3f68d2fed47c6629.tar.xz
urpmi-d2dff5993cab6360557eda7d3f68d2fed47c6629.zip
Add a "noreconfigure" flag for media that don't want to be reconfigured.
(patch by Michael Scherer)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/cfg.pm2
1 files changed, 1 insertions, 1 deletions
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