# HG changeset patch # User Antoine Bodin # Date 1297701765 -3600 # Node ID e01867d7ec3cc7c125af21517867cd6868295e0a # Parent a7ae2a2c76b5c5736259803f6c21823a2df72b31 oups... remove comments I used to speed-up tests diff -r a7ae2a2c76b5 -r e01867d7ec3c update-repository --- a/update-repository Mon Feb 14 17:32:29 2011 +0100 +++ b/update-repository Mon Feb 14 17:42:45 2011 +0100 @@ -26,10 +26,10 @@ echo "Updating logs files..." cd $LOG_DIR -#for i in *.html; do -# sed 's~file:///usr/share/slitaz/web~web~' -i $i -#done -#[ -L web ] || ln -s /usr/share/slitaz/web web +for i in *.html; do + sed 's~file:///usr/share/slitaz/web~web~' -i $i +done +[ -L web ] || ln -s /usr/share/slitaz/web web echo "Update done: you can now use 'tazwok webserver on' to add you're repository to webinterface. If you use the path by default, it will be available at: http://localhost/vhosts/bb This command need lighttpd & php installed to be used." @@ -52,7 +52,7 @@ fi fi if grep -q "^$PACKAGE | $VERSION" $PACKAGES_REPOSITORY/packages.desc; then - main_version="$VERSION" + main_version="$VERSION" if [ -f $SOURCES_REPOSITORY/${SOURCE:-$PACKAGE}-$VERSION.tar.lzma ]; then echo -e "$PACKAGE:main\t${SOURCE:-$PACKAGE}-$VERSION.tar.lzma" >> $SOURCES_REPOSITORY/sources.list elif [ -f "SOURCES_REPOSITORY/$TARBALL" ]; then