summaryrefslogtreecommitdiff
path: root/libre/kodi/kodi.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-18 11:06:09 -0200
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-01-18 11:06:09 -0200
commit5f73d029b9e32ff36d0d44793ee072e7c6b4e888 (patch)
tree34e00f186550dc284cc23c21754cc53b97008fee /libre/kodi/kodi.install
parent7454853bb6eb43bda8344d1178b5db4a3e41fcb2 (diff)
downloadabslibre-5f73d029b9e32ff36d0d44793ee072e7c6b4e888.tar.gz
abslibre-5f73d029b9e32ff36d0d44793ee072e7c6b4e888.tar.bz2
abslibre-5f73d029b9e32ff36d0d44793ee072e7c6b4e888.zip
rename xbmc to kodi, remove xbmc-lts
Diffstat (limited to 'libre/kodi/kodi.install')
-rw-r--r--libre/kodi/kodi.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/libre/kodi/kodi.install b/libre/kodi/kodi.install
new file mode 100644
index 000000000..31897532c
--- /dev/null
+++ b/libre/kodi/kodi.install
@@ -0,0 +1,17 @@
+post_install() {
+ update_icons
+}
+
+post_upgrade() {
+ update_icons
+}
+
+post_remove() {
+ update_icons
+}
+
+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
+}