summaryrefslogtreecommitdiffstats
path: root/gnome-dictionary/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-dictionary/post-install')
-rwxr-xr-xgnome-dictionary/post-install19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnome-dictionary/post-install b/gnome-dictionary/post-install
new file mode 100755
index 0000000..4b8554a
--- /dev/null
+++ b/gnome-dictionary/post-install
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+port=gnome-dictionary
+
+# 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
+ /usr/bin/scrollkeeper-install -q -p /var/lib/scrollkeeper /$SCROLL > /dev/null
+done
+
+# desktop database
+update-desktop-database -q
+
+# End of file