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

Up: slitaz-boot-scripts (5.7.1)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 25 00:32:22 2015 +0200 (2015-03-25)
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	Wed Mar 25 00:32:22 2015 +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  }