PKGBUILDs/community/xbmc/xbmc.install
2014-08-09 00:59:31 +00:00

24 lines
545 B
Text

post_install() {
update_icons
update_autostart
}
post_upgrade() {
update_icons
update_autostart
}
post_remove() {
update_icons
update_autostart
}
update_icons() {
type -p gtk-update-icon-cache > /dev/null 2>&1 && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
type -p update-desktop-database > /dev/null 2>&1 && usr/bin/update-desktop-database -q usr/share/applications
return 0
}
update_autostart() {
echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
}