summaryrefslogtreecommitdiffstats
path: root/file-roller/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-08-16 01:15:02 +0200
committerpiernov <piernov@piernov.org>2011-08-16 01:15:02 +0200
commit4d9d8e2443c0492be0e64d8453aefd2de55acf75 (patch)
tree36a85431c4873ab13dca3f140a9e382064bebe75 /file-roller/post-install
parentd06bc417894493391d349e65e2774d7b9519dddc (diff)
downloadgnome3-4d9d8e2443c0492be0e64d8453aefd2de55acf75.tar.gz
gnome3-4d9d8e2443c0492be0e64d8453aefd2de55acf75.tar.bz2
gnome3-4d9d8e2443c0492be0e64d8453aefd2de55acf75.tar.xz
gnome3-4d9d8e2443c0492be0e64d8453aefd2de55acf75.zip
file-roller 3.1.2-1 màj port
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