summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-02-14 10:47:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-02-14 10:47:50 +0000
commitdf55c40c5806b754c3ca717a3d79a853c2c9982c (patch)
tree03d67eef378fcab884b103f0a1817c7a62b3da9c /urpm.pm
parentfea31ffed0e831f446c6a4518483f24ae72a7588 (diff)
downloadurpmi-df55c40c5806b754c3ca717a3d79a853c2c9982c.tar
urpmi-df55c40c5806b754c3ca717a3d79a853c2c9982c.tar.gz
urpmi-df55c40c5806b754c3ca717a3d79a853c2c9982c.tar.bz2
urpmi-df55c40c5806b754c3ca717a3d79a853c2c9982c.tar.xz
urpmi-df55c40c5806b754c3ca717a3d79a853c2c9982c.zip
- urpmi handles /etc/urpmi/media.d/*.cfg
as an alternative to using urpmi.addmedia nb: need documentation
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 66702b33..88f0946c 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -123,6 +123,7 @@ sub set_files {
my ($urpm, $urpmi_root) = @_;
my %h = (
config => "$urpmi_root/etc/urpmi/urpmi.cfg",
+ configs_dir => "$urpmi_root/etc/urpmi/media.d",
skiplist => prefer_rooted($urpmi_root, '/etc/urpmi/skip.list'),
instlist => prefer_rooted($urpmi_root, '/etc/urpmi/inst.list'),
prefer_list => prefer_rooted($urpmi_root, '/etc/urpmi/prefer.list'),