diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 04:25:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 04:25:27 -0300 |
commit | 0c80991b66ecc9768c4f69ae4c9fead9b82a9d6c (patch) | |
tree | 65fedd5c56fed022d49a76a93686d1491d78e480 /libre/xbmc-lts/xbmc.install | |
parent | 039be8872ca85f499fe667075cf6e667d91dc4f5 (diff) |
xbmc-lts: remove libre suffix
Diffstat (limited to 'libre/xbmc-lts/xbmc.install')
-rw-r--r-- | libre/xbmc-lts/xbmc.install | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libre/xbmc-lts/xbmc.install b/libre/xbmc-lts/xbmc.install new file mode 100644 index 000000000..f90770bd5 --- /dev/null +++ b/libre/xbmc-lts/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" +} |