wok diff zim/receipt @ rev 13358

Move from undigest: burp androguard ibus ibus-dev ibus-hangul uemacs smx smx-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 11 09:21:03 2012 +0200 (2012-09-11)
parents fd41dbde66dc
children 2fe3e9901e7a
line diff
     1.1 --- a/zim/receipt	Tue Mar 06 13:37:22 2012 +0100
     1.2 +++ b/zim/receipt	Tue Sep 11 09:21:03 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  }