summaryrefslogtreecommitdiffstats
path: root/caribou/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-09-02 16:16:39 +0200
committerpiernov <piernov@piernov.org>2011-09-02 16:16:39 +0200
commit2696e8842121e4d3713f092f9b98803f212eadba (patch)
tree9c33579d1433d70104fbd785dffa89ce8d0e913d /caribou/post-install
parent0c5d5e37ab520a413108cae8413a0459e011eae7 (diff)
downloadgnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.gz
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.bz2
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.tar.xz
gnome3-2696e8842121e4d3713f092f9b98803f212eadba.zip
caribou 0.3.5-1 ajout port
Diffstat (limited to 'caribou/post-install')
-rwxr-xr-xcaribou/post-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/caribou/post-install b/caribou/post-install
new file mode 100755
index 0000000..c4b890a
--- /dev/null
+++ b/caribou/post-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+port=caribou
+
+# workaround si pygobject3 installés
+[[ -f /usr/lib/python2.7/site-packages/gi/_gobject/__init__.py ]] && sed "s|if 'gobject' in sys.modules:|if 'gobject' in sys.modules and not 'caribou' in sys.modules:|" -i /usr/lib/python2.7/site-packages/gi/_gobject/__init__.py
+
+# glib schemas
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
+# desktop database
+update-desktop-database -q
+
+# End of file