wok diff slitaz-arm-adm/receipt @ rev 18529

stfl: add libstfl.so.0 link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 27 09:24:12 2015 +0100 (2015-10-27)
parents 365cbf7fa47a
children d6aaea06354b
line diff
     1.1 --- a/slitaz-arm-adm/receipt	Sat May 10 14:35:39 2014 +0200
     1.2 +++ b/slitaz-arm-adm/receipt	Tue Oct 27 09:24:12 2015 +0100
     1.3 @@ -23,7 +23,7 @@
     1.4  # SliTaz RPi files are over written so reinstall pkg
     1.5  post_install()
     1.6  {
     1.7 -	if [ -d "/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
     1.8 -		spk-add slitaz-arm-rpi --forced
     1.9 +	if [ -d "$1/var/lib/tazpkg/installed/slitaz-arm-rpi" ]; then
    1.10 +		chroot "$1/" spk-add slitaz-arm-rpi --forced
    1.11  	fi
    1.12  }