summaryrefslogtreecommitdiffstats
path: root/gnome/bug-buddy/post-install
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-11-10 21:02:59 +0100
committertnut <thierryn1 at hispeed dot ch>2009-11-10 21:02:59 +0100
commit914408fec3a065ff6e5d4543319712130a3769b7 (patch)
treeeb0baf73e80e4c78d56a9a2004559537462cb2de /gnome/bug-buddy/post-install
parent948cbbe0da7954496b3f0a2711c8b02bce348117 (diff)
downloadnutyx-extra-914408fec3a065ff6e5d4543319712130a3769b7.tar.gz
nutyx-extra-914408fec3a065ff6e5d4543319712130a3769b7.tar.bz2
nutyx-extra-914408fec3a065ff6e5d4543319712130a3769b7.tar.xz
nutyx-extra-914408fec3a065ff6e5d4543319712130a3769b7.zip
maj bug-buddy#2.28.0-1
Diffstat (limited to 'gnome/bug-buddy/post-install')
-rwxr-xr-xgnome/bug-buddy/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome/bug-buddy/post-install b/gnome/bug-buddy/post-install
new file mode 100755
index 000000000..8750c8dad
--- /dev/null
+++ b/gnome/bug-buddy/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+port=bug-buddy
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+ 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
+
+# desktop database
+update-desktop-database > /dev/null
+
+# End of file