summaryrefslogtreecommitdiffstats
path: root/gnome-packagekit/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-07-17 02:55:59 +0200
committerpiernov <piernov@piernov.org>2012-07-17 02:55:59 +0200
commit3f27f09487e8ec52b8872d612333423d4d9b9585 (patch)
tree70dd8172b97840756da26af6bf78d0756fdf4c6c /gnome-packagekit/post-install
parentd58492170bd426b7e752c68d82405f6dc9a3e40f (diff)
downloadgnome3-master.tar.gz
gnome3-master.tar.bz2
gnome3-master.tar.xz
gnome3-master.zip
gnome-packagekit 3.5.3-1 ajout portHEADmaster
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