summaryrefslogtreecommitdiffstats
path: root/gnome/metacity/post-install
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-24 19:00:30 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-24 19:00:30 +0200
commitecc73dee0a2e098a1c4e2171fc3074b80b773df3 (patch)
tree4c080c310d8eadb90c0cf4862644906043535400 /gnome/metacity/post-install
parentd973df0582456ffdec62217a63fe9e4d8a371f84 (diff)
downloadnutyx-pakxe-ecc73dee0a2e098a1c4e2171fc3074b80b773df3.tar.gz
nutyx-pakxe-ecc73dee0a2e098a1c4e2171fc3074b80b773df3.tar.bz2
nutyx-pakxe-ecc73dee0a2e098a1c4e2171fc3074b80b773df3.tar.xz
nutyx-pakxe-ecc73dee0a2e098a1c4e2171fc3074b80b773df3.zip
ajout metacity#2.26.0-1
Diffstat (limited to 'gnome/metacity/post-install')
-rwxr-xr-xgnome/metacity/post-install20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnome/metacity/post-install b/gnome/metacity/post-install
new file mode 100755
index 000000000..5363d7dd6
--- /dev/null
+++ b/gnome/metacity/post-install
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+port=metacity
+
+# gconf schemas
+SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
+
+for SCHEMA in $SCHEMAS
+do
+ export GCONF_CONFIG_SOURCE=`$GNOME_PREFIX/bin/gconftool-2 --get-default-source`
+ $GNOME_PREFIX/bin/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
+
+# End of file