diff options
Diffstat (limited to 'gnome-keyring/post-install')
-rwxr-xr-x | gnome-keyring/post-install | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/gnome-keyring/post-install b/gnome-keyring/post-install index 8370ad9..7c6de85 100755 --- a/gnome-keyring/post-install +++ b/gnome-keyring/post-install @@ -1,18 +1,17 @@ #!/bin/sh + port=gnome-keyring -# gconf schemas -SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`" -for SCHEMA in $SCHEMAS -do - export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` - /usr/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null -done +# glib schemas +/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas + +# desktop database +update-desktop-database -q + +# icon cache +gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor -# reload gconf caches -if [ ! -z "`pidof gconfd-2`" ] -then - killall -HUP gconfd-2 > /dev/null -fi +# mime database +update-mime-database /usr/share/mime > /dev/null # End of file |