wok-next diff claws-mail/receipt @ rev 17552

Update some post_install for install --root
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 30 10:17:37 2015 +0100 (2015-01-30)
parents 589a225cacc7
children feb2e0c63d21
line diff
     1.1 --- a/claws-mail/receipt	Sun Oct 19 14:21:26 2014 +0200
     1.2 +++ b/claws-mail/receipt	Fri Jan 30 10:17:37 2015 +0100
     1.3 @@ -47,6 +47,6 @@
     1.4  # Post installation custom.
     1.5  post_install()
     1.6  {
     1.7 -	[ -x /usr/bin/gtk-update-icon-cache ] && \
     1.8 -		gtk-update-icon-cache  -f -t /usr/share/icons/hicolor
     1.9 +	[ -x $1/usr/bin/gtk-update-icon-cache ] &&
    1.10 +	  chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
    1.11  }