diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-02-19 18:16:16 (GMT) |
commit | 8de064f6e96f960cdbfe6868d9957a4613f704df (patch) | |
tree | 4e73a420991733450d013529c0fee60e0365297a /abs/extra/kodi/kodi.install | |
parent | 0374b16f1e15ba1819b62bd5a6e0076ac7b243d0 (diff) | |
parent | 6fde8cd5e74f0840e01988e743464fe91c0a28f8 (diff) | |
download | linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.zip linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.gz linhes_pkgbuild-8de064f6e96f960cdbfe6868d9957a4613f704df.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/extra/kodi/kodi.install')
-rw-r--r-- | abs/extra/kodi/kodi.install | 19 |
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 +} |