mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 10:07:16 +08:00
Fixed usage of gtk-* commands in XBMC's .install script.
This commit is contained in:
parent
a2781c4a7d
commit
4ee6967049
@ -4,7 +4,7 @@ _prefix=/usr
|
||||
|
||||
pkgname=xbmc
|
||||
pkgver=12.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="XBMC Media Center"
|
||||
arch=('x86_64')
|
||||
url="http://xbmc.org"
|
||||
|
@ -1,16 +1,12 @@
|
||||
post_install() {
|
||||
[[ $(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
|
||||
/bin/true
|
||||
/usr/bin/update-desktop-database -q usr/share/applications
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
/bin/true
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install $1
|
||||
/bin/true
|
||||
post_install
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user