summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-19 23:20:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-19 23:20:19 +0000
commit528338fa75e8ceedbf17763bf5a5c094e92d0fe8 (patch)
treeeba70b060fea721ded1b6f1fb36462730f5390ee /perl-install/pkgs.pm
parent8c744cf3d47bf1295ced161e7ef9776a25efeeb8 (diff)
downloaddrakx-backup-do-not-use-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar
drakx-backup-do-not-use-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.gz
drakx-backup-do-not-use-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.bz2
drakx-backup-do-not-use-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.tar.xz
drakx-backup-do-not-use-528338fa75e8ceedbf17763bf5a5c094e92d0fe8.zip
rename isCdNotEjectable in usingRamdisk, ensure no files are removed unless we're in ramdisk
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
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.