tazlito rev 50

fix extract hooks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 09 18:06:41 2008 +0000 (2008-03-09)
parents 2d0b318dcf6f
children 97ab113ff728
files tazlito
line diff
     1.1 --- a/tazlito	Sat Mar 08 15:12:05 2008 +0100
     1.2 +++ b/tazlito	Sun Mar 09 18:06:41 2008 +0000
     1.3 @@ -484,7 +484,7 @@
     1.4  		  cat ../rootcd/boot/rootfs.gz ) | cpio -id
     1.5  		# unpack /usr
     1.6  		for i in etc/tazlito/*.extract; do
     1.7 -			. $i ../rootcd
     1.8 +			[ -f "$i" ] && . $i ../rootcd
     1.9  		done
    1.10  		# Umount and remove temp directory and cd to $TARGET to get stats.
    1.11  		umount $TMP_DIR && rm -rf $TMP_DIR