From b24c80aaddf6ea3bdf71267571a67e457e264fe1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 12 Jun 2007 09:47:57 +0000 Subject: oops, I really meant vfat when stripping labels for nash --- draklive | 4 ++-- 1 file 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'); } -- cgit v1.2.1