summaryrefslogtreecommitdiffstats
path: root/ghex/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'ghex/post-install')
-rw-r--r--ghex/post-install19
1 files changed, 19 insertions, 0 deletions
diff --git a/ghex/post-install b/ghex/post-install
new file mode 100644
index 0000000..ea7974e
--- /dev/null
+++ b/ghex/post-install
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+port=ghex
+
+# glib schemas
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
+
+# scrolls
+SCROLLS="`pkginfo -l $port | grep usr/share/omf/.*\.omf$`"
+
+for SCROLL in $SCROLLS
+do
+ scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
+done
+
+# icon cache
+gtk-update-icon-cache -f -q -t /usr/share/icons/hicolor
+
+# End of file