summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-16 11:48:09 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-16 11:48:09 +0000
commit557181c1dbaf05da40a3f26c6351a60f6b72027c (patch)
tree5f7536db845445e5487d85fa4bf8df04491476b1 /perl-install/install_any.pm
parent7257b0046bd3695c81e6076b65ef68506bbedf81 (diff)
downloaddrakx-557181c1dbaf05da40a3f26c6351a60f6b72027c.tar
drakx-557181c1dbaf05da40a3f26c6351a60f6b72027c.tar.gz
drakx-557181c1dbaf05da40a3f26c6351a60f6b72027c.tar.bz2
drakx-557181c1dbaf05da40a3f26c6351a60f6b72027c.tar.xz
drakx-557181c1dbaf05da40a3f26c6351a60f6b72027c.zip
removing update media tag (except for update medium)
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index a38712007..6032d5a31 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -585,8 +585,8 @@ sub install_urpmi {
with_hdlist: $with" . ($need_list ? "
list: list.$name" : "") . (keys(%{$_->{key_ids}}) ? "
key-ids: " . join(',', keys(%{$_->{key_ids}})) : "") . ($dir =~ /removable:/ && "
- removable: /dev/cdrom") . "
- update" . "
+ removable: /dev/cdrom") . ($_->{update} ? "
+ update" : ""). "
}
";