From d781c33cc2a22272a6cb8237af4c9afb95f1cd28 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 2 Dec 2005 17:14:22 +0000 Subject: Add a new configuration option, default-media, that specifies a comma-separated list of media to be taken into account by default (i.e., if the --media switch is not specified on the command-line) --- urpm/cfg.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'urpm') diff --git a/urpm/cfg.pm b/urpm/cfg.pm index 6e5f2809..581c4fa8 100644 --- a/urpm/cfg.pm +++ b/urpm/cfg.pm @@ -152,6 +152,7 @@ sub load_config ($;$) { |prohibit-remove |downloader |retry + |default-media |(?:curl|rsync|wget)-options )\s*:\s*['"]?(.*?)['"]?$/x and $config{$medium}{$1} = $2, next; -- cgit v1.2.1