From 806fbcd4bc7540519fa604d0b0754eb513a296ce Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 15 Jan 2004 20:25:48 +0000 Subject: add auto and keep options in global config section, ask to be root to use auto-select in urpmi --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm.pm') 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; -- cgit v1.2.1