wok diff adminer/receipt @ rev 17157

syslinux: fix rockridge (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 15 23:31:45 2014 +0200 (2014-09-15)
parents 372da2303ff1
children 3a87a5fb7626
line diff
     1.1 --- a/adminer/receipt	Thu Apr 03 07:07:55 2014 +0000
     1.2 +++ b/adminer/receipt	Mon Sep 15 23:31:45 2014 +0200
     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  }