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

Up cookutils(794), tazlito(417)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 14 01:04:16 2016 +0200 (2016-03-14)
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	Mon Mar 14 01:04:16 2016 +0200
     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  }