summaryrefslogtreecommitdiffstats
path: root/file-roller/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'file-roller/post-install')
-rwxr-xr-xfile-roller/post-install21
1 files changed, 6 insertions, 15 deletions
diff --git a/file-roller/post-install b/file-roller/post-install
index 8b7fecb..51ffb26 100755
--- a/file-roller/post-install
+++ b/file-roller/post-install
@@ -1,20 +1,8 @@
#!/bin/sh
port=file-roller
-# 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
-
-# reload gconf caches
-if [ ! -z "`pidof gconfd-2`" ]
-then
- killall -HUP gconfd-2 > /dev/null
-fi
+# glib schemas
+glib-compile-schemas /usr/share/glib-2.0/schemas
# scrolls
SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"
@@ -25,7 +13,10 @@ do
done
# desktop database
-update-desktop-database > /dev/null
+update-desktop-database -q
+
+# icon cache
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
# End of file