summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-12 09:47:57 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-12 09:47:57 +0000
commitb24c80aaddf6ea3bdf71267571a67e457e264fe1 (patch)
treebfad33c2fb54191054d16e674504509fa28cadfe
parentc568684eb583ad5797274cbc521f663ccf1ecd34 (diff)
downloaddraklive-b24c80aaddf6ea3bdf71267571a67e457e264fe1.tar
draklive-b24c80aaddf6ea3bdf71267571a67e457e264fe1.tar.gz
draklive-b24c80aaddf6ea3bdf71267571a67e457e264fe1.tar.bz2
draklive-b24c80aaddf6ea3bdf71267571a67e457e264fe1.tar.xz
draklive-b24c80aaddf6ea3bdf71267571a67e457e264fe1.zip
oops, I really meant vfat when stripping labels for nash
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index ac6e0b4..578e6cc 100755
--- a/draklive
+++ b/draklive
@@ -906,8 +906,8 @@ sub get_media_device {
sub get_media_source_for_nash {
my ($media) = @_;
my $label = get_media_label($media);
- #- strip ext2 labels to 11 chars and upper-case it
- $label && get_media_setting($media, 'fs') eq 'ext2' ?
+ #- strip vfat labels to 11 chars and upper-case it
+ $label && get_media_setting($media, 'fs') eq 'vfat' ?
'LABEL=' . uc(substr($label, 0, 11)) :
get_media_setting($media, 'source');
}