wok-current rev 18282

mate-control-center: contains /usr/share/mime: run update-mime-database
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Aug 10 16:37:12 2015 +0300 (2015-08-10)
parents 4fbcc1630441
children 282531ce3347
files caja/receipt mate-control-center/receipt
line diff
     1.1 --- a/caja/receipt	Mon Aug 10 09:59:01 2015 -0300
     1.2 +++ b/caja/receipt	Mon Aug 10 16:37:12 2015 +0300
     1.3 @@ -16,6 +16,8 @@
     1.4  gvfs-dev desktop-file-utils gobject-introspection-dev util-linux-uuid-dev"
     1.5  SUGGESTED="gvfs-smb"
     1.6  
     1.7 +TAGS="MATE file-manager"
     1.8 +
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
     2.1 --- a/mate-control-center/receipt	Mon Aug 10 09:59:01 2015 -0300
     2.2 +++ b/mate-control-center/receipt	Mon Aug 10 16:37:12 2015 +0300
     2.3 @@ -50,10 +50,13 @@
     2.4  	[ -x $1/usr/bin/gtk-update-icon-cache ] &&
     2.5  	  chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
     2.6  	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
     2.7 +	chroot $1/ /usr/bin/update-mime-database /usr/share/mime
     2.8  }
     2.9  
    2.10  post_remove()
    2.11  {
    2.12  	echo "Processing post-remove commands..."
    2.13  	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    2.14 +	chroot $1/ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
    2.15 +	chroot $1/ /usr/bin/update-mime-database /usr/share/mime
    2.16  }