summaryrefslogtreecommitdiffstats
path: root/gnome-keyring/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-08-30 14:40:19 +0200
committerpiernov <piernov@piernov.org>2011-08-30 14:40:19 +0200
commit4de5c03c54e51f5568f898fe0d5fabc1c038a425 (patch)
tree3c4cecf7210ff71de6ebb7c713cbe1daef92cad9 /gnome-keyring/post-install
parent40365fbecbfac7ad4a5ea12a1cf91edc7af7c98d (diff)
downloadgnome3-4de5c03c54e51f5568f898fe0d5fabc1c038a425.tar.gz
gnome3-4de5c03c54e51f5568f898fe0d5fabc1c038a425.tar.bz2
gnome3-4de5c03c54e51f5568f898fe0d5fabc1c038a425.tar.xz
gnome3-4de5c03c54e51f5568f898fe0d5fabc1c038a425.zip
gnome-keyring 3.1.90-1 màj port
Diffstat (limited to 'gnome-keyring/post-install')
-rwxr-xr-xgnome-keyring/post-install23
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