wok-6.x diff zim/receipt @ rev 12749

ziproxy: update mod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 09 23:20:27 2012 +0200 (2012-05-09)
parents fd41dbde66dc
children 2fe3e9901e7a
line diff
     1.1 --- a/zim/receipt	Tue Mar 06 13:37:22 2012 +0100
     1.2 +++ b/zim/receipt	Wed May 09 23:20:27 2012 +0200
     1.3 @@ -30,9 +30,9 @@
     1.4  {
     1.5  	echo -n "Processing post-install commands..." 
     1.6  	# Create mimeinfo.cache in /usr/share/applications
     1.7 -	update-desktop-database
     1.8 -	update-mime-database /usr/share/mime
     1.9 -	xdg-icon-resource install --context mimetypes \
    1.10 +	chroot "$1/" update-desktop-database
    1.11 +	chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
    1.12 +	chroot "$1/" xdg-icon-resource install --context mimetypes \
    1.13  --size 64 /usr/share/pixmaps/zim.png application-x-zim-notebook
    1.14  	status
    1.15  }