tazwok diff update-repository @ rev 305

Trying to fix a bug into check_for_incoming
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Feb 18 01:32:08 2011 +0100 (2011-02-18)
parents 4798e247d453
children
line diff
     1.1 --- a/update-repository	Mon Feb 14 17:19:23 2011 +0100
     1.2 +++ b/update-repository	Fri Feb 18 01:32:08 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