summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-06-07 14:42:35 +0000
committerOlivier Blin <oblin@mandriva.com>2007-06-07 14:42:35 +0000
commit543331dd5815fe335451261a746121a5b1c503b4 (patch)
treebe948675d005d4e84e4e1931801e50cc19e977ef
parentf1a344bb939257e2bf0b6554b0ecc812bd399427 (diff)
downloaddraklive-543331dd5815fe335451261a746121a5b1c503b4.tar
draklive-543331dd5815fe335451261a746121a5b1c503b4.tar.gz
draklive-543331dd5815fe335451261a746121a5b1c503b4.tar.bz2
draklive-543331dd5815fe335451261a746121a5b1c503b4.tar.xz
draklive-543331dd5815fe335451261a746121a5b1c503b4.zip
hide more autorun files
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 163d468..ca3dcd9 100755
--- a/draklive
+++ b/draklive
@@ -1171,7 +1171,7 @@ sub record_usb_master {
cp_af(glob_(get_builddir($live) . $live->{prefix}{build}{files} . '/*'), $live->{mnt});
} unless $opts->{boot_only};
- my @dot_files = map { basename($_) } glob_($live->{mnt} . "/.*"), grep { -e $_ } $live->{mnt} . '/autorun.inf';
+ my @dot_files = map { basename($_) } glob_($live->{mnt} . "/.*"), glob_($live->{mnt} . "/autorun.*");
run_('umount', $live->{mnt});
maybe_umount_device($device);