summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-30 22:54:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-30 22:54:49 +0000
commit4f85b0d92b9246709a53a85b45b15f73c7d97086 (patch)
tree0f62ec68e69cd1619f59fe77a5b572cd3805e7ec /perl-install/bootloader.pm
parentc9ae469b014987aab6c76225859028ecffb77659 (diff)
downloaddrakx-backup-do-not-use-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar
drakx-backup-do-not-use-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.gz
drakx-backup-do-not-use-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.bz2
drakx-backup-do-not-use-4f85b0d92b9246709a53a85b45b15f73c7d97086.tar.xz
drakx-backup-do-not-use-4f85b0d92b9246709a53a85b45b15f73c7d97086.zip
add isFat_or_NTFS() and use it where possible instead of isFat() since Windows
is now using ntfs, not only Windows NT
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index c286c1457..79e77c87f 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -521,10 +521,10 @@ wait %d seconds for default boot.
my %nbs;
foreach (@$hds) {
foreach (@{$_->{primary}{normal}}) {
- isNT($_) || isFat($_) or next;
+ isFat_or_NTFS($_) or next;
my $from_magic = { type => fsedit::typeOfPart($_->{device}) };
- isNT($from_magic) || isFat($from_magic) or next;
- my $label = isNT($_) ? 'NT' : isDos($_) ? 'dos' : 'windows';
+ isFat_or_NTFS($from_magic) or next;
+ my $label = isDos($_) ? 'dos' : 'windows';
add_entry($bootloader,
{
type => 'other',