cookutils diff cookiso.conf @ rev 551
libmodular.sh: Add some comments.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Oct 16 16:06:34 2012 +0000 (2012-10-16) |
parents | cab55ddc0418 |
children |
line diff
1.1 --- a/cookiso.conf Sat Sep 01 03:22:52 2012 +0000 1.2 +++ b/cookiso.conf Tue Oct 16 16:06:34 2012 +0000 1.3 @@ -2,11 +2,11 @@ 1.4 # configuration file. 1.5 # 1.6 1.7 -# SliTaz version to use for ISO name and files path. 1.8 -SLITAZ_VERSION=`cat /etc/slitaz-release` 1.9 +# this is to make SLITAZ_RELEASE variable works 1.10 +. /etc/slitaz/slitaz.conf 1.11 1.12 # Name of the ISO image to generate. 1.13 -ISO_NAME="slitaz-$SLITAZ_VERSION" 1.14 +ISO_NAME="slitaz-$SLITAZ_RELEASE" 1.15 #ISO_NAME="slitaz-cooking-`date +%Y%m%d`" 1.16 1.17 # ISO image volume name. 1.18 @@ -16,7 +16,7 @@ 1.19 PREPARED="$USER" 1.20 1.21 # Tazlito work directory with flavors, distro and packages files. 1.22 -WORK_DIR="/home/slitaz/$SLITAZ_VERSION" 1.23 +WORK_DIR="$SLITAZ" 1.24 1.25 # Path to the packages repository and the packages.list. 1.26 PACKAGES_REPOSITORY="$WORK_DIR/packages"