Fixed usage of gtk-* commands in XBMC's .install script.

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2013-05-06 08:26:16 +00:00
parent a2781c4a7d
commit 4ee6967049
2 changed files with 4 additions and 8 deletions

View File

@ -4,7 +4,7 @@ _prefix=/usr
pkgname=xbmc pkgname=xbmc
pkgver=12.2 pkgver=12.2
pkgrel=1 pkgrel=2
pkgdesc="XBMC Media Center" pkgdesc="XBMC Media Center"
arch=('x86_64') arch=('x86_64')
url="http://xbmc.org" url="http://xbmc.org"

View File

@ -1,16 +1,12 @@
post_install() { post_install() {
[[ $(type -p gtk-update-icon-cache) ]] && /usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor /usr/bin/update-desktop-database -q usr/share/applications
[[ $(type -p update-desktop-database) ]] && /usr/bin/update-desktop-database -q usr/share/applications
/bin/true
} }
post_upgrade() { post_upgrade() {
post_install $1 post_install
/bin/true
} }
post_remove() { post_remove() {
post_install $1 post_install
/bin/true
} }