wok-6.x diff adminer/receipt @ rev 16255

Up socat (2.0.0-b7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 04 16:24:21 2014 +0000 (2014-04-04)
parents 372da2303ff1
children 3a87a5fb7626
line diff
     1.1 --- a/adminer/receipt	Thu Apr 03 07:07:55 2014 +0000
     1.2 +++ b/adminer/receipt	Fri Apr 04 16:24:21 2014 +0000
     1.3 @@ -17,11 +17,14 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
     1.8 +		wget -O "$SOURCES_REPOSITORY/$TARBALL" $WGET_URL
     1.9 +	cp "$SOURCES_REPOSITORY/$TARBALL" index.php
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15  	mkdir -p $fs/var/www/$PACKAGE
    1.16 -	cp $src/*.php $fs/var/www/$PACKAGE/index.php
    1.17 +	cp $src/index.php $fs/var/www/$PACKAGE/
    1.18  }