diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-06-05 18:55:01 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-06-05 18:55:01 +0000 |
commit | d13ea5d760f555448becf95cee5dd92781fd4b72 (patch) | |
tree | b5516d4386b84722c69d00211dc62cb193240eeb | |
parent | 8e4d48f73ee3189d9a90b4d2eaa393cb102dd5e9 (diff) | |
download | draklive-d13ea5d760f555448becf95cee5dd92781fd4b72.tar draklive-d13ea5d760f555448becf95cee5dd92781fd4b72.tar.gz draklive-d13ea5d760f555448becf95cee5dd92781fd4b72.tar.bz2 draklive-d13ea5d760f555448becf95cee5dd92781fd4b72.tar.xz draklive-d13ea5d760f555448becf95cee5dd92781fd4b72.zip |
also hide autorun.inf (yes, hardcode it)
-rwxr-xr-x | draklive | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1183,7 +1183,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} . "/.*"); + my @dot_files = map { basename($_) } glob_($live->{mnt} . "/.*"), grep { -e $_ } $live->{mnt} . '/autorun.inf'; run_('umount', $live->{mnt}); maybe_umount_device($device); |