summaryrefslogtreecommitdiffstats
path: root/caribou/post-install
diff options
context:
space:
mode:
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