summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-18 14:19:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-18 14:19:41 +0000
commit4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f (patch)
tree51b70a13a1b9cb17a4a4a50cbeae6c962fb57ee6 /perl-install/pkgs.pm
parentf0f3f892601f504aa5916c97d39261388992c023 (diff)
downloaddrakx-backup-do-not-use-4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f.tar
drakx-backup-do-not-use-4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f.tar.gz
drakx-backup-do-not-use-4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f.tar.bz2
drakx-backup-do-not-use-4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f.tar.xz
drakx-backup-do-not-use-4f901b9b596dc1f5f310b0ea5468a7a71d2b3a9f.zip
since we don't use ramdisk but clp, some code is dead
(remove usingRamdisk(), check_prog(), remove_unused()...)
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm7
1 files changed, 0 insertions, 7 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index af8070597..90affb556 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -498,13 +498,6 @@ sub psUsingHdlist {
#- integrate medium in media list, only here to avoid download error (update) to be propagated.
$packages->{mediums}{$medium_name} = $m;
- #- avoid using more than one medium if Cd is not ejectable.
- #- but keep all medium here so that urpmi has the whole set.
- $m->{ignored} ||= (
- install_any::method_allows_medium_change($method) && $medium_name > 1 #- first cdrom
- && $medium_name !~ /^\d+s/ #- not a suppl. CD
- && !common::usingRamdisk());
-
#- parse synthesis (if available) of directly hdlist (with packing).
if ($m->{ignored}) {
log::l("ignoring packages in $hdlist");