# HG changeset patch # User Richard Dunbar # Date 1406167671 0 # Node ID 2431150e607e9818e4b9f9d970725e5e30eac9be # Parent 2c57e6f53630a79a1465e36ddfa7dbb29089ff01 gnucash: glib-compile-schemas diff -r 2c57e6f53630 -r 2431150e607e gnucash/receipt --- a/gnucash/receipt Wed Jul 23 13:55:35 2014 +0200 +++ b/gnucash/receipt Thu Jul 24 02:07:51 2014 +0000 @@ -64,3 +64,16 @@ cp -a $install/usr/share/locale/$locale $fs/usr/share/locale done } + +# Post install/remove commands for Tazpkg. +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 +}