From 528338fa75e8ceedbf17763bf5a5c094e92d0fe8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sun, 19 Aug 2001 23:20:19 +0000 Subject: rename isCdNotEjectable in usingRamdisk, ensure no files are removed unless we're in ramdisk --- perl-install/pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 8bb0763a3..0bcd9d28a 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -423,7 +423,7 @@ sub psUsingHdlist { #- avoid using more than one medium if Cd is not ejectable. #- but keep all medium here so that urpmi has the whole set. - $method eq 'cdrom' && $medium > 1 && isCdNotEjectable() and return; + $method eq 'cdrom' && $medium > 1 && !common::usingRamdisk() and return; #- extract filename from archive, this take advantage of verifying #- the archive too. -- cgit v1.2.1