summaryrefslogtreecommitdiffstats
path: root/gnome/bug-buddy/post-install
diff options
context:
space:
mode:
authorbg <bg@nutyx.(none)>2009-11-11 17:34:54 +0100
committerbg <bg@nutyx.(none)>2009-11-11 17:34:54 +0100
commit7946295b3dd79cf42321ce49d97478a7e7bbc602 (patch)
tree5756a8f9cc1345b7ac1c57d06ceaf16e81ad93bb /gnome/bug-buddy/post-install
parent43be65e0a9fd27c4d6fe0fef519124c1c353bb07 (diff)
parente0394195e2f8be029860dfa8e24d027d88621e1f (diff)
downloadnutyx-extra-7946295b3dd79cf42321ce49d97478a7e7bbc602.tar.gz
nutyx-extra-7946295b3dd79cf42321ce49d97478a7e7bbc602.tar.bz2
nutyx-extra-7946295b3dd79cf42321ce49d97478a7e7bbc602.tar.xz
nutyx-extra-7946295b3dd79cf42321ce49d97478a7e7bbc602.zip
Merge remote branch 'nutyx-2009/master'
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