wok-current diff slitaz-arm-adm/receipt @ rev 18966
gmerlin: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 07:40:00 2016 +0100 (2016-03-11) |
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 Fri Mar 11 07:40:00 2016 +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 }