summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-18 15:47:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-18 15:47:43 +0000
commit48d17aecfbe7938e796fec388f5d357da761cba2 (patch)
treea50884815778c8b25039dc503e2664d8dcf8211d /urpm/args.pm
parentb2acbfd301f16263d7d7b2a68042b24ff0209596 (diff)
downloadurpmi-48d17aecfbe7938e796fec388f5d357da761cba2.tar
urpmi-48d17aecfbe7938e796fec388f5d357da761cba2.tar.gz
urpmi-48d17aecfbe7938e796fec388f5d357da761cba2.tar.bz2
urpmi-48d17aecfbe7938e796fec388f5d357da761cba2.tar.xz
urpmi-48d17aecfbe7938e796fec388f5d357da761cba2.zip
- urpmi.addmedia --distrib, urpmi/urpme/urpmf/urpmq --use-distrib
o media.cfg per media field hdlist=hdlist_xxx.cz is not used anymore, xxx/media_info/hdlist.cz is used instead. To get previous behaviour, use option --use-copied-hdlist or use_copied_hdlist=1 in media.cfg beware: this modifies the behaviour of urpmi, especially for multi CDs media which were the only one really using the hdlist-copied-in-media/media_info feature
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d6ae29f7..ecca014f 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -50,6 +50,7 @@ my %options_spec_all = (
$urpm->{debug} = $urpm->{debug_URPM} = sub { print STDERR "$_[0]\n" };
},
'urpmi-root=s' => sub { urpm::set_files($urpm, $_[1]) },
+ 'use-copied-hdlist' => sub { $urpm->{options}{use_copied_hdlist} = 1 },
);
my %options_spec = (