summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-03-12 13:46:43 +0000
committerFrancois Pons <fpons@mandriva.com>2002-03-12 13:46:43 +0000
commit998267bf3474332c853e312d4a718e81a06c2980 (patch)
treeaf9fd3e085290cb5cb3e6f611279dc61b47b8db5 /perl-install
parent79cb29b27f4558b659da2dc1f63800bc536ee2e6 (diff)
downloaddrakx-998267bf3474332c853e312d4a718e81a06c2980.tar
drakx-998267bf3474332c853e312d4a718e81a06c2980.tar.gz
drakx-998267bf3474332c853e312d4a718e81a06c2980.tar.bz2
drakx-998267bf3474332c853e312d4a718e81a06c2980.tar.xz
drakx-998267bf3474332c853e312d4a718e81a06c2980.zip
added fix to support update hdlist renaming (ie hdlist of update are always hdlist.cz).
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index be9cef216..575183b2a 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -540,7 +540,7 @@ sub install_urpmi {
#- output new urpmi.cfg format here.
"$qname " . ($dir !~ /^(ftp|http)/ && $qdir) . " {
hdlist: hdlist.$name.cz
- with_hdlist: ../base/$_->{hdlist}
+ with_hdlist: ../base/" . ($_->{update} ? "hdlist.cz" : $_->{hdlist}) . "
list: list.$name" . ($dir =~ /removable:/ && "
removable: /dev/cdrom") . ($_->{update} && "
update") . "