summaryrefslogtreecommitdiff
path: root/libre/kodi/kodi.install
blob: 31897532c1f90f3952b27d73a1f4c32562e587ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}