mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 12:57:15 +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
|
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"
|
||||||
|
@ -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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user