summarylogtreecommitdiffstats
path: root/electron-cash.install
blob: c14de3d340f8a4a1fc6a899b6f5dbbd487f115cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  if [[ -x /usr/bin/update-desktop-database ]]; then
    update-desktop-database -q
  fi
  
  if [[ -x /usr/bin/xdg-icon-resource ]]; then
    xdg-icon-resource forceupdate --theme hicolor
  fi
  
  if [[ -x /usr/bin/gtk-update-icon-cache ]]; then
    gtk-update-icon-cache -f -q /usr/share/icons/hicolor
 fi
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}

# vim: ts=2 sw=2 et: