tazlito rev 213
Some cosmetic change to get-flavor
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 14:33:25 2011 +0100 (2011-02-24) |
parents | b7493ef28221 |
children | 55ec0ab30411 |
files | tazlito |
line diff
1.1 --- a/tazlito Thu Feb 24 14:08:19 2011 +0100 1.2 +++ b/tazlito Thu Feb 24 14:33:25 2011 +0100 1.3 @@ -1624,7 +1624,8 @@ 1.4 get-flavor) 1.5 # Get a flavor's files and prepare for gen-distro. 1.6 FLAVOR=${2%.flavor} 1.7 - echo "" 1.8 + echo -e "\n\033[1mPreparing $FLAVOR distro flavor\033[0m" 1.9 + echo "================================================================================" 1.10 if [ -f $FLAVOR.flavor ] || download $FLAVOR.flavor; then 1.11 echo -n "Cleaning $DISTRO..." 1.12 rm -R $DISTRO 2> /dev/null 1.13 @@ -1640,7 +1641,7 @@ 1.14 infos="$FLAVOR.desc" 1.15 for i in rootcd rootfs; do 1.16 if [ -f $TMP_DIR/$FLAVOR.$i ]; then 1.17 - echo -n "Adding $i... " 1.18 + echo -n "Adding $i files... " 1.19 mkdir -p "$ADDFILES/$i" 1.20 zcat $TMP_DIR/$FLAVOR.$i | \ 1.21 ( cd "$ADDFILES/$i"; cpio -id > /dev/null) 1.22 @@ -1674,7 +1675,8 @@ 1.23 gzip -9 > /etc/tazlito/info 1.24 rm -Rf $TMP_DIR 1.25 fi 1.26 - echo "" 1.27 + echo "================================================================================" 1.28 + echo -e "Flavor is ready to be generated by: tazlito gen-distro\n" 1.29 ;; 1.30 1.31 iso2flavor)