From 7d3d4baa9eb9b0754d609348fd15e01da79f0dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Thu, 4 Sep 2014 04:00:36 -0300 Subject: xbmc: remove libre suffix and add complex pkgrel --- libre/xbmc/xbmc.install | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 libre/xbmc/xbmc.install (limited to 'libre/xbmc/xbmc.install') 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" +} -- cgit v1.2.3-2-g168b