summaryrefslogtreecommitdiffstats
path: root/abs/extra/xbmc-svn/xbmc-svn.install
diff options
context:
space:
mode:
authorJames Meyer <jams@linhes.org>2010-12-29 00:53:57 (GMT)
committerJames Meyer <jams@linhes.org>2010-12-29 00:53:57 (GMT)
commitbfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d (patch)
tree8641b9762f43e4ee1022643782d013d7bdc06143 /abs/extra/xbmc-svn/xbmc-svn.install
parent082e88179d8a355d5e67e62c5031d3d689ea3d5b (diff)
parenteb0b8a2e6a2b8c78266e2e641a468843deee61c3 (diff)
downloadlinhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.zip
linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.gz
linhes_pkgbuild-bfbb65a6f8708052a18dd08bb8a3b5c5805a3e8d.tar.bz2
Merge remote branch 'origin/testing' into testing
Diffstat (limited to 'abs/extra/xbmc-svn/xbmc-svn.install')
-rw-r--r--abs/extra/xbmc-svn/xbmc-svn.install27
1 files changed, 21 insertions, 6 deletions
diff --git a/abs/extra/xbmc-svn/xbmc-svn.install b/abs/extra/xbmc-svn/xbmc-svn.install
index acf409c..9d24167 100644
--- a/abs/extra/xbmc-svn/xbmc-svn.install
+++ b/abs/extra/xbmc-svn/xbmc-svn.install
@@ -1,13 +1,28 @@
post_install() {
- echo ">> If XBMC won't start, but just segfaults, double check your X.Org config"
- echo ">> so that your display depth is at least 24-bit. Eg: change "
- echo ">> \"DefaultDepth 16\" under the \"Screen\" section so it says 24 instead"
- echo ">> of 16."
+ echo ">> If XBMC won't start, but just segfaults, double check your X.Org config."
+ echo ">> The display depth has to be at least 24-bit, ie"
+ echo ">> set \"DefaultDepth 24\" under the \"Screen\" section of your xorg.conf file."
echo ">> If you have problems or suggestions for this PKGBUILD, have a look at its"
echo ">> dedicated forum thread: http://bbs.archlinux.org/viewtopic.php?pid=559107"
- echo ">> or the wiki: http://xbmc.org/wiki/?title=XBMC_on_Arch_Linux_(Unofficial)"
+ echo ">> or the wiki: http://xbmc.org/wiki/?title=XBMC_on_Arch_Linux_(Unofficial)."
+ echo ">> Note that this is a development version of XBMC."
+ echo ">> If you encounter problems with XBMC don't forget to consult the official"
+ echo ">> xbmc forums found here: http://forum.xbmc.org "
+ echo ">> and report bugs to the xbmc bugtracker found here: http://trac.xbmc.org."
echo
- /bin/true
+
+ [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications
+}
+
+post_upgrade() {
+ [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications
+}
+
+post_remove() {
+ [[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
+ [[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications
}
# vim:set ts=2 sw=2 et: