PKGBUILDs/community/xbmc/xbmc.install

25 lines
545 B
Text
Raw Normal View History

2012-06-08 23:57:07 +00:00
post_install() {
2014-05-26 13:10:50 +00:00
update_icons
2014-08-09 00:59:31 +00:00
update_autostart
2012-06-08 23:57:07 +00:00
}
post_upgrade() {
2014-08-09 00:59:31 +00:00
update_icons
update_autostart
2012-06-08 23:57:07 +00:00
}
post_remove() {
2014-05-26 13:10:50 +00:00
update_icons
2014-08-09 00:59:31 +00:00
update_autostart
2014-05-26 13:10:50 +00:00
}
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
2014-08-09 00:59:31 +00:00
return 0
}
update_autostart() {
echo "To autostart xbmc standalone read: https://wiki.archlinux.org/index.php/Xbmc#Autostarting_at_boot"
2012-06-08 23:57:07 +00:00
}