summaryrefslogtreecommitdiffstats
path: root/gnome-packagekit/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-packagekit/post-install')
-rwxr-xr-xgnome-packagekit/post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnome-packagekit/post-install b/gnome-packagekit/post-install
new file mode 100755
index 0000000..2827832
--- /dev/null
+++ b/gnome-packagekit/post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+
+port=gnome-packagekit
+
+# 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
+
+# icon cache
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+
+# End of file