aboutsummaryrefslogtreecommitdiffstats
path: root/transfugdrake.pm
diff options
context:
space:
mode:
authorChristian Belisle <cbelisle@mandriva.com>2002-01-15 15:45:22 +0000
committerChristian Belisle <cbelisle@mandriva.com>2002-01-15 15:45:22 +0000
commit62b3cdc8fb1927c52fbac1c40841961e4fd292c4 (patch)
tree83cab5b550374cf801b920d91d1569563c0dda92 /transfugdrake.pm
parent21088001d6ccc5a77995225d7342248ec48bec86 (diff)
downloadtransfugdrake-62b3cdc8fb1927c52fbac1c40841961e4fd292c4.tar
transfugdrake-62b3cdc8fb1927c52fbac1c40841961e4fd292c4.tar.gz
transfugdrake-62b3cdc8fb1927c52fbac1c40841961e4fd292c4.tar.bz2
transfugdrake-62b3cdc8fb1927c52fbac1c40841961e4fd292c4.tar.xz
transfugdrake-62b3cdc8fb1927c52fbac1c40841961e4fd292c4.zip
fix no windows partition warning
Diffstat (limited to 'transfugdrake.pm')
-rw-r--r--transfugdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/transfugdrake.pm b/transfugdrake.pm
index f1bf368..fb0522a 100644
--- a/transfugdrake.pm
+++ b/transfugdrake.pm
@@ -95,6 +95,7 @@ sub get_windows_partition {
}
}
+ if($fat_parts[0] eq "") { $in->ask_warn(_("No Windows Partition"), _("No Windows Partition found")); quit_global($in, 0); }
my $win_part = $in->ask_from_list_(_("Select your windows partition"),
_("Please specify your windows partition from the following list"),
[ @fat_parts ],
@@ -102,7 +103,6 @@ sub get_windows_partition {
or quit_global($in, 0);
if($fat_parts[1] eq "") { $in->ask_warn(_("Your Windows Partition"), _("$fat_parts[0] is found as your Windows partition")); }
- if($win_part eq "") { $in->ask_warn(_("No Windows Partition"), _("No Windows Partition found")); quit_global($in, 0); }
if($win_part =~ /NTFS/) { $fstype = "ntfs"; }
elsif($win_part =~ /FAT32/) {$fstype = "msdos"; }
elsif($win_part =~ /FAT/) {$fstype = "msdos"; }