summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-24 03:13:35 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-06-24 03:13:35 +0000
commite3dbb6fabf87a132b95e1210be30c5454099ac31 (patch)
tree9204aec29fd8b44790514434c7c19a6165082644 /urpm/cfg.pm
parent35ca26da6599faf3c677c16171734f905c4d8fc1 (diff)
downloadurpmi-e3dbb6fabf87a132b95e1210be30c5454099ac31.tar
urpmi-e3dbb6fabf87a132b95e1210be30c5454099ac31.tar.gz
urpmi-e3dbb6fabf87a132b95e1210be30c5454099ac31.tar.bz2
urpmi-e3dbb6fabf87a132b95e1210be30c5454099ac31.tar.xz
urpmi-e3dbb6fabf87a132b95e1210be30c5454099ac31.zip
Handle quoted option values
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r--urpm/cfg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 2dd3a062..b6610c71 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -85,9 +85,9 @@ sub load_config ($) {
|split-(?:level|length)
|priority-upgrade
|downloader
- )\s*:\s*(.*)$/x
+ )\s*:\s*['"]?(.*?)['"]?$/x
and $config{$medium}{$1} = $2, next;
- /^key[-_]ids\s*:\s*(.*)$/
+ /^key[-_]ids\s*:\s*['"]?(.*?)['"]?$/
and $config{$medium}{'key-ids'} = $1, next;
#- positive flags
/^(update|ignore|synthesis|virtual)$/