summaryrefslogtreecommitdiffstats
path: root/abs/extra/kodi/kodi.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/kodi/kodi.install')
-rw-r--r--abs/extra/kodi/kodi.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/abs/extra/kodi/kodi.install b/abs/extra/kodi/kodi.install
new file mode 100644
index 0000000..d28289b
--- /dev/null
+++ b/abs/extra/kodi/kodi.install
@@ -0,0 +1,19 @@
+post_install() {
+ update_icons
+ gen_lib_xml.py
+}
+
+post_upgrade() {
+ update_icons
+}
+
+post_remove() {
+ update_icons
+ gen_lib_xml.py
+}
+
+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
+}