summaryrefslogtreecommitdiffstats
path: root/fredjo-gnome-2.28-test/bug-buddy/post-install
diff options
context:
space:
mode:
authorfredjo <frederic.joly@9online.fr>2009-11-03 23:45:07 +0100
committerfredjo <frederic.joly@9online.fr>2009-11-03 23:45:07 +0100
commit9add7a28d3e4b5c0708d2d3c8d9a6bfabf963d03 (patch)
tree2601219db4d53d3b5a335e0b69de94bdec6ad503 /fredjo-gnome-2.28-test/bug-buddy/post-install
parent870fb075055fd8676a4a0d9247cd201d725517a1 (diff)
downloadnutyx-extra-9add7a28d3e4b5c0708d2d3c8d9a6bfabf963d03.tar.gz
nutyx-extra-9add7a28d3e4b5c0708d2d3c8d9a6bfabf963d03.tar.bz2
nutyx-extra-9add7a28d3e4b5c0708d2d3c8d9a6bfabf963d03.tar.xz
nutyx-extra-9add7a28d3e4b5c0708d2d3c8d9a6bfabf963d03.zip
Ajout du paquet bug-buddy#2.26.0
Diffstat (limited to 'fredjo-gnome-2.28-test/bug-buddy/post-install')
-rwxr-xr-xfredjo-gnome-2.28-test/bug-buddy/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/fredjo-gnome-2.28-test/bug-buddy/post-install b/fredjo-gnome-2.28-test/bug-buddy/post-install
new file mode 100755
index 000000000..8750c8dad
--- /dev/null
+++ b/fredjo-gnome-2.28-test/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