summaryrefslogtreecommitdiffstats
path: root/urpm/cfg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/cfg.pm')
-rw-r--r--urpm/cfg.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index 3d5b123a..d6c48d6a 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -105,6 +105,7 @@ sub load_config ($) {
#- boolean options
if (($no, $k, $v) = /^(no-)?(
verify-rpm
+ |norebuild
|fuzzy
|allow-(?:force|nodeps)
|(?:pre|post)-clean
@@ -116,6 +117,7 @@ sub load_config ($) {
) {
my $yes = $no ? 0 : 1;
$no = $yes ? 0 : 1;
+ $v = '' unless defined $v;
$config{$medium}{$k} = $v =~ /^(yes|on|1|)$/i ? $yes : $no;
next;
}