summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-01-15 20:25:48 +0000
committerOlivier Blin <oblin@mandriva.org>2004-01-15 20:25:48 +0000
commit806fbcd4bc7540519fa604d0b0754eb513a296ce (patch)
treebea6fb1902a682c411d7bf67e05ae3a459affd06 /urpm.pm
parent35045736d71ac2ccf0108c0293fd5854075e4c99 (diff)
downloadurpmi-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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index bf38cb4f..aad3156a 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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;