wok rev 16244
adminer: fix php name
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 09:13:34 2014 +0000 (2014-04-03) |
parents | 9060ab899d73 |
children | 033f4b0fc8e1 |
files | adminer/receipt |
line diff
1.1 --- a/adminer/receipt Thu Apr 03 09:02:35 2014 +0000 1.2 +++ b/adminer/receipt Thu Apr 03 09:13:34 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 }