diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 04:01:51 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 04:01:51 -0300 |
commit | 9521b39ccee136ac3fa86a370e5f8873cfe60aad (patch) | |
tree | 582bb9ccc2e5774a207072a704fcb12c61808849 /libre/xbmc/xbmc.install | |
parent | b67ed711301ab4d4e0018a823823a51746c24db9 (diff) | |
parent | 039be8872ca85f499fe667075cf6e667d91dc4f5 (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/xbmc/xbmc.install')
-rw-r--r-- | libre/xbmc/xbmc.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/xbmc/xbmc.install b/libre/xbmc/xbmc.install new file mode 100644 index 000000000..f90770bd5 --- /dev/null +++ b/libre/xbmc/xbmc.install @@ -0,0 +1,24 @@ +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.parabolagnulinux.org/index.php/Xbmc#Autostarting_at_boot" +} |