cookutils rev 540 slitaz-tank
libcookiso.sh: Copying distro list to $INIT/etc/slitaz if MODULAR is enabled.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 23 13:01:50 2012 +0000 (2012-09-23) |
parents | 2b6720a968c8 |
children | 6d69ff3dcdb2 |
files | lib/libcookiso.sh |
line diff
1.1 --- a/lib/libcookiso.sh Sun Sep 23 11:12:02 2012 +0000 1.2 +++ b/lib/libcookiso.sh Sun Sep 23 13:01:50 2012 +0000 1.3 @@ -714,7 +714,11 @@ 1.4 fi 1.5 1.6 cd $DISTRO 1.7 - cp $DISTRO_LIST $ROOTFS/etc/slitaz 1.8 + if [ "$MODULAR" ]; then 1.9 + cp $DISTRO_LIST $INIT/etc/slitaz 1.10 + else 1.11 + cp $DISTRO_LIST $ROOTFS/etc/slitaz 1.12 + fi 1.13 # Copy all files from $ADDFILES/rootfs to the rootfs. 1.14 if [ -d "$ADDFILES/rootfs" ] ; then 1.15 echo -n "Copying addfiles content to the rootfs... "