summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
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)$/