tazwok rev 279
oups... remove comments I used to speed-up tests
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 17:42:45 2011 +0100 (2011-02-14) |
parents | a7ae2a2c76b5 |
children | 605c10e63e93 |
files | update-repository |
line diff
1.1 --- a/update-repository Mon Feb 14 17:32:29 2011 +0100 1.2 +++ b/update-repository Mon Feb 14 17:42:45 2011 +0100 1.3 @@ -26,10 +26,10 @@ 1.4 1.5 echo "Updating logs files..." 1.6 cd $LOG_DIR 1.7 -#for i in *.html; do 1.8 -# sed 's~file:///usr/share/slitaz/web~web~' -i $i 1.9 -#done 1.10 -#[ -L web ] || ln -s /usr/share/slitaz/web web 1.11 +for i in *.html; do 1.12 + sed 's~file:///usr/share/slitaz/web~web~' -i $i 1.13 +done 1.14 +[ -L web ] || ln -s /usr/share/slitaz/web web 1.15 echo "Update done: you can now use 'tazwok webserver on' to add you're repository to webinterface. 1.16 If you use the path by default, it will be available at: http://localhost/vhosts/bb 1.17 This command need lighttpd & php installed to be used." 1.18 @@ -52,7 +52,7 @@ 1.19 fi 1.20 fi 1.21 if grep -q "^$PACKAGE | $VERSION" $PACKAGES_REPOSITORY/packages.desc; then 1.22 - main_version="$VERSION" 1.23 + main_version="$VERSION" 1.24 if [ -f $SOURCES_REPOSITORY/${SOURCE:-$PACKAGE}-$VERSION.tar.lzma ]; then 1.25 echo -e "$PACKAGE:main\t${SOURCE:-$PACKAGE}-$VERSION.tar.lzma" >> $SOURCES_REPOSITORY/sources.list 1.26 elif [ -f "SOURCES_REPOSITORY/$TARBALL" ]; then