# HG changeset patch # User Aleksej Bobylev # Date 1414510672 -7200 # Node ID 6ef82f80de3c3a00e8c94c6b5a7326aeb8220ec0 # Parent cce1951ed2363e9ec5bc6eb4c542f340ec1411c8 gvfs: (re-)compile glib schemas on install and on remove. diff -r cce1951ed236 -r 6ef82f80de3c gvfs-smb/receipt --- a/gvfs-smb/receipt Tue Oct 28 14:00:13 2014 +0200 +++ b/gvfs-smb/receipt Tue Oct 28 17:37:52 2014 +0200 @@ -17,3 +17,15 @@ { . $WOK/gvfs/stuff/split } + +post_install() +{ + echo "Processing post-install commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} diff -r cce1951ed236 -r 6ef82f80de3c gvfs/receipt --- a/gvfs/receipt Tue Oct 28 14:00:13 2014 +0200 +++ b/gvfs/receipt Tue Oct 28 17:37:52 2014 +0200 @@ -38,3 +38,15 @@ { . $stuff/split } + +post_install() +{ + echo "Processing post-install commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}