summaryrefslogtreecommitdiffstats
path: root/abs/extra/kodi/kodi.install
blob: d28289b1c7e570577319be4fef15f2141ee9b650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}