diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-06-18 15:47:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-06-18 15:47:43 +0000 |
commit | 48d17aecfbe7938e796fec388f5d357da761cba2 (patch) | |
tree | a50884815778c8b25039dc503e2664d8dcf8211d /urpm/args.pm | |
parent | b2acbfd301f16263d7d7b2a68042b24ff0209596 (diff) | |
download | urpmi-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.pm | 1 |
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 = ( |