summaryrefslogtreecommitdiffstats
path: root/extra/bug-buddy/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-04 11:55:43 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-04 11:55:43 +0100
commit21d4dacc4b7d3893981b05cc44b704f660bb4ea9 (patch)
tree8b8f2f331fd24ca8cefa42d6c041c4cdc503d515 /extra/bug-buddy/post-install
parentd794e76011b6bddd371d219dbc6b56df4d253cb1 (diff)
downloadnutyx-extra-21d4dacc4b7d3893981b05cc44b704f660bb4ea9.tar.gz
nutyx-extra-21d4dacc4b7d3893981b05cc44b704f660bb4ea9.tar.bz2
nutyx-extra-21d4dacc4b7d3893981b05cc44b704f660bb4ea9.tar.xz
nutyx-extra-21d4dacc4b7d3893981b05cc44b704f660bb4ea9.zip
deplacement de bug-buddy vers extra
Diffstat (limited to 'extra/bug-buddy/post-install')
-rwxr-xr-xextra/bug-buddy/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/bug-buddy/post-install b/extra/bug-buddy/post-install
new file mode 100755
index 000000000..8750c8dad
--- /dev/null
+++ b/extra/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