wok rev 17290

gvfs: (re-)compile glib schemas on install and on remove.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 28 17:37:52 2014 +0200 (2014-10-28)
parents cce1951ed236
children 9c5333f3023a
files gvfs-smb/receipt gvfs/receipt
line diff
     1.1 --- a/gvfs-smb/receipt	Tue Oct 28 14:00:13 2014 +0200
     1.2 +++ b/gvfs-smb/receipt	Tue Oct 28 17:37:52 2014 +0200
     1.3 @@ -17,3 +17,15 @@
     1.4  {
     1.5  	. $WOK/gvfs/stuff/split
     1.6  }
     1.7 +
     1.8 +post_install()
     1.9 +{
    1.10 +	echo "Processing post-install commands..."
    1.11 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.12 +}
    1.13 +
    1.14 +post_remove()
    1.15 +{
    1.16 +	echo "Processing post-remove commands..."
    1.17 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.18 +}
     2.1 --- a/gvfs/receipt	Tue Oct 28 14:00:13 2014 +0200
     2.2 +++ b/gvfs/receipt	Tue Oct 28 17:37:52 2014 +0200
     2.3 @@ -38,3 +38,15 @@
     2.4  {
     2.5  	. $stuff/split
     2.6  }
     2.7 +
     2.8 +post_install()
     2.9 +{
    2.10 +	echo "Processing post-install commands..."
    2.11 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    2.12 +}
    2.13 +
    2.14 +post_remove()
    2.15 +{
    2.16 +	echo "Processing post-remove commands..."
    2.17 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    2.18 +}