diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-01-15 20:25:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-01-15 20:25:48 +0000 |
commit | 806fbcd4bc7540519fa604d0b0754eb513a296ce (patch) | |
tree | bea6fb1902a682c411d7bf67e05ae3a459affd06 /urpm.pm | |
parent | 35045736d71ac2ccf0108c0293fd5854075e4c99 (diff) | |
download | urpmi-806fbcd4bc7540519fa604d0b0754eb513a296ce.tar urpmi-806fbcd4bc7540519fa604d0b0754eb513a296ce.tar.gz urpmi-806fbcd4bc7540519fa604d0b0754eb513a296ce.tar.bz2 urpmi-806fbcd4bc7540519fa604d0b0754eb513a296ce.tar.xz urpmi-806fbcd4bc7540519fa604d0b0754eb513a296ce.zip |
add auto and keep options in global config section, ask to be root to
use auto-select in urpmi
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -461,7 +461,7 @@ sub read_config { $_ eq '}' and last; #- check for boolean variables first, and after that valued variables. my ($no, $k, $v); - if (($no, $k, $v) = /^(no-)?(verify-rpm|fuzzy|allow-(?:force|nodeps)|(?:pre|post)-clean|excludedocs|compress)(?:\s*:\s*(.*))?$/) { + if (($no, $k, $v) = /^(no-)?(verify-rpm|fuzzy|keep|auto|allow-(?:force|nodeps)|(?:pre|post)-clean|excludedocs|compress)(?:\s*:\s*(.*))?$/) { unless (exists($urpm->{options}{$k})) { $urpm->{options}{$k} = $v eq '' || $v =~ /^(yes|on|1)$/i || 0; $no and $urpm->{options}{$k} = ! $urpm->{options}{$k} || 0; |