summaryrefslogtreecommitdiffstats
path: root/aisleriot/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'aisleriot/post-install')
-rwxr-xr-xaisleriot/post-install25
1 files changed, 25 insertions, 0 deletions
diff --git a/aisleriot/post-install b/aisleriot/post-install
new file mode 100755
index 0000000..09d6d47
--- /dev/null
+++ b/aisleriot/post-install
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+port=aisleriot
+
+# gconf schemas
+/usr/sbin/gconfpkg --install $port
+
+# 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
+
+# desktop database
+update-desktop-database -q
+
+# icon cache
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+
+# End of file