summaryrefslogtreecommitdiffstats
path: root/gnome-dictionary/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-03-06 17:59:02 +0000
committerpiernov <piernov@piernov.org>2012-03-06 17:59:02 +0000
commitaa5b11f9850638823717976d922efcc8b1e4d250 (patch)
treef5dc04ca36c4f7129fda9a84a98f6580d6a00302 /gnome-dictionary/post-install
parent678bd557bd8ad8c3e4e67c39e412c29c5459559b (diff)
downloadgnome3-aa5b11f9850638823717976d922efcc8b1e4d250.tar.gz
gnome3-aa5b11f9850638823717976d922efcc8b1e4d250.tar.bz2
gnome3-aa5b11f9850638823717976d922efcc8b1e4d250.tar.xz
gnome3-aa5b11f9850638823717976d922efcc8b1e4d250.zip
gnome-dictionary ajout port
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