wok rev 3927

mirror-tools/mkpkgiso: do not install lighttpd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 19 15:31:08 2009 +0200 (2009-08-19)
parents ee8c515e6e41
children f61a1715700d
files mirror-tools/stuff/usr/bin/mkpkgiso
line diff
     1.1 --- a/mirror-tools/stuff/usr/bin/mkpkgiso	Wed Aug 19 12:03:31 2009 +0200
     1.2 +++ b/mirror-tools/stuff/usr/bin/mkpkgiso	Wed Aug 19 15:31:08 2009 +0200
     1.3 @@ -186,14 +186,18 @@
     1.4  case "$i" in
     1.5  --wok)
     1.6  	cat >>$TEMP_DIR/install.sh<<EOF
     1.7 -echo "=> Wok (cooking) is in \$DIR/wok"
     1.8 +mkdir -p /home/slitaz
     1.9 +ln -s \$DIR/wok /home/slitaz
    1.10 +echo "=> Wok (cooking) is in /home/slitaz/wok"
    1.11  EOF
    1.12  	if get_from_hg wok "wok (cooking)"; then
    1.13  		echo "$SORT_DIR/wok -8000" >> $SORT_FILE
    1.14  	fi;;
    1.15  --wok-stable)
    1.16  	cat >>$TEMP_DIR/install.sh<<EOF
    1.17 -echo "=> Wok (stable) is in \$DIR/wok"
    1.18 +mkdir -p /home/slitaz
    1.19 +ln -s \$DIR/wok /home/slitaz
    1.20 +echo "=> Wok (stable) is in /home/slitaz/wok"
    1.21  EOF
    1.22  	if get_from_hg wok-stable "wok (stable)"; then
    1.23  		mv $TEMP_DIR/wok-stable $TEMP_DIR/wok
    1.24 @@ -205,12 +209,7 @@
    1.25  		echo "$(echo $SORT_DIR/packages/*/lighttpd-[0-9]*) -7100" >> $SORT_FILE
    1.26  		echo "$(echo $SORT_DIR/packages/*/pcre-[0-9]*) -7100" >> $SORT_FILE
    1.27  		cat >>$TEMP_DIR/install.sh<<EOF
    1.28 -[ -d /var/www ] || mkdir -p /var/www
    1.29 -ln -s \$DIR/website /var/www
    1.30 -if [ -d /.usr.rw -o ! -d /usr/.moved ]; then
    1.31 -  tazpkg list | grep -q ^lighttpd || yes y | tazpkg get-install lighttpd > /dev/null 2>&1
    1.32 -  echo "=> slitaz web site installed in http://localhost/website"
    1.33 -fi
    1.34 +echo "=> slitaz web site installed in file:///mnt/website"
    1.35  EOF
    1.36  	fi;;
    1.37  esac