summaryrefslogtreecommitdiffstats
path: root/nautilus/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'nautilus/post-install')
-rwxr-xr-xnautilus/post-install21
1 files changed, 6 insertions, 15 deletions
diff --git a/nautilus/post-install b/nautilus/post-install
index 0e68fd5..55022eb 100755
--- a/nautilus/post-install
+++ b/nautilus/post-install
@@ -2,25 +2,16 @@
port=nautilus
-# gconf schemas
-SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+# glib schemas
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
-for SCHEMA in $SCHEMAS
-do
- export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
- gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
-done
+# desktop database
+update-desktop-database -q
-# reload gconf caches
-if [ ! -z "`pidof gconfd-2`" ]
-then
- killall -HUP gconfd-2 > /dev/null
-fi
+# icon cache
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
# mime database
update-mime-database /usr/share/mime > /dev/null
-# desktop database
-update-desktop-database > /dev/null
-
# End of file