wok rev 16940

gnucash: glib-compile-schemas
author Richard Dunbar <mojo@slitaz.org>
date Thu Jul 24 02:07:51 2014 +0000 (2014-07-24)
parents 2c57e6f53630
children 5c9478a63c92
files gnucash/receipt
line diff
     1.1 --- a/gnucash/receipt	Wed Jul 23 13:55:35 2014 +0200
     1.2 +++ b/gnucash/receipt	Thu Jul 24 02:07:51 2014 +0000
     1.3 @@ -64,3 +64,16 @@
     1.4  		cp -a $install/usr/share/locale/$locale $fs/usr/share/locale
     1.5  	done
     1.6  }
     1.7 +
     1.8 +# Post install/remove commands for Tazpkg.
     1.9 +post_install()
    1.10 +{
    1.11 +  echo "Processing post-install commands..."
    1.12 +  chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.13 +}
    1.14 +
    1.15 +post-remove()
    1.16 +{ 
    1.17 +  echo "Processing post-remove commands..."
    1.18 +  chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    1.19 +}