summaryrefslogtreecommitdiffstats
path: root/aisleriot/post-install
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2011-08-16 02:27:33 +0200
committerpiernov <piernov@piernov.org>2011-08-16 02:27:33 +0200
commit754fa5192b8346d75bcaeb5b740708ee82e4bb8a (patch)
tree0d09b0a1cce64d76df4d40d03087e8c35d0f1002 /aisleriot/post-install
parentd56b5295608520dd69843bda4a9e344f66406f80 (diff)
downloadgnome3-754fa5192b8346d75bcaeb5b740708ee82e4bb8a.tar.gz
gnome3-754fa5192b8346d75bcaeb5b740708ee82e4bb8a.tar.bz2
gnome3-754fa5192b8346d75bcaeb5b740708ee82e4bb8a.tar.xz
gnome3-754fa5192b8346d75bcaeb5b740708ee82e4bb8a.zip
aisleriot 3.1.1-1 ajout port
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