wok-next diff shell-detector/receipt @ rev 20717

pcmanfm-legacy: use patch
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:00:58 2018 +0300 (2018-05-27)
parents 9e01bc6321ea
children 7506b35e1c6f
line diff
     1.1 --- a/shell-detector/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/shell-detector/receipt	Sun May 27 15:00:58 2018 +0300
     1.3 @@ -17,16 +17,16 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 +	mkdir -p $install/usr/share/$PACKAGE
     1.9 +	cp -a * $install/usr/share/$PACKAGE
    1.10 +	ln -s shelldetect.php $install/usr/share/$PACKAGE/index.php
    1.11 +	chown -R www.www $install/usr/share/$PACKAGE
    1.12  }
    1.13  
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17 -	mkdir -p $fs/usr/share/$PACKAGE
    1.18 -	cp -a $src/* $fs/usr/share/$PACKAGE
    1.19 -	ln -s shelldetect.php $fs/usr/share/$PACKAGE/index.php
    1.20 -	chown -R www.www $fs/usr/share/$PACKAGE
    1.21 +	cp -a $install/usr $fs
    1.22  }
    1.23  
    1.24  post_install()