updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / xbmc-eden-git / xbmc-eden-git.install
blob6a5f76f0ad4d5e1045454ae1da434ce80232c7bf
1 update_icons() {
2   if which update-desktop-database > /dev/null 2>&1
3   then
4     update-desktop-database -q /usr/share/applications
5   fi
6   if which gtk-update-icon-cache > /dev/null 2>&1
7   then
8     gtk-update-icon-cache -q /usr/share/icons/hicolor
9   fi
12 post_install() {
13   update_icons
14   echo ">> If XBMC won't start, but just segfaults, double check your X.Org config."
15   echo ">> The display depth has to be at least 24-bit, ie"
16   echo ">> set \"DefaultDepth 24\" under the \"Screen\" section of your xorg.conf file."
17   echo " "
18   echo ">> If you have problems or suggestions for this PKGBUILD, have a look at its"
19   echo ">> dedicated forum thread: http://bbs.archlinux.org/viewtopic.php?pid=559107"
20   echo ">> or the wiki: http://xbmc.org/wiki/?title=XBMC_on_Arch_Linux_(Unofficial)."
21   echo " "
22   echo ">> Note that this is a development version of XBMC." 
23   echo ">> If you encounter problems with XBMC don't forget to consult the official"
24   echo ">> xbmc forums found here: http://forum.xbmc.org "
25   echo ">> and report bugs to the xbmc bugtracker found here: http://trac.xbmc.org."
26   echo " "
27   echo ">> this build is a dependency - build test removal of deps, might even not"
28   echo ">> be working at all"
29   /bin/true
32 post_upgrade() {
33   update_icons
36 post_remove() {
37   update_icons
40 # vim:set ts=2 sw=2 et: