diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-11-24 16:45:10 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-11-24 16:45:10 +0000 |
commit | 96a44ec69287273eaa346a8ebc3dafea651a4d1e (patch) | |
tree | 12a8a195e6599ef0b2db091bf8e82aa5995220ba /perl-install/detect_devices.pm | |
parent | 851ca8f056135ff7edd9c19705ba2a4870887775 (diff) | |
download | drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.gz drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.bz2 drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.tar.xz drakx-backup-do-not-use-96a44ec69287273eaa346a8ebc3dafea651a4d1e.zip |
no_comment
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index a6ce0575b..cea04aebc 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -33,7 +33,7 @@ sub get { [ \&hasDAC960, \&getDAC960 ], [ \&hasCompaqSmartArray, \&getCompaqSmartArray ]; } -sub hds() { grep { $_->{type} eq 'hd' && !isRemovableDrive($_) } get(); } +sub hds() { grep { $_->{type} eq 'hd' && ($::isStandalone || !isRemovableDrive($_)) } get(); } sub zips() { grep { $_->{type} eq 'hd' && isZipDrive($_) } get(); } #-sub jazzs() { grep { $_->{type} eq 'hd' && isJazDrive($_) } get(); } sub cdroms() { grep { $_->{type} eq 'cdrom' } get(); } |