diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-01-20 13:38:58 -0200 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-01-20 13:38:58 -0200 |
commit | ee507a0c39c1266b35158689cad8f7fe531f396a (patch) | |
tree | e0b37782f810aaaea25e328efa10a4560b6c3b27 /libre/kodi/kodi.install | |
parent | 03e1b1f2144c92194acd4d1d9a0c6e10ac51a4a3 (diff) | |
parent | a2df7958861eec4672c47cf90fe593a10cc42c8f (diff) |
Merge branch 'master' of ssh://projects.parabola.nu:1863/~git/abslibre/abslibre
Diffstat (limited to 'libre/kodi/kodi.install')
-rw-r--r-- | libre/kodi/kodi.install | 17 |
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 +} |