summarylogtreecommitdiffstats
path: root/electrum.install
blob: b9649c46769a02fec57d20269fb5ed63bc62a2d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
post_install() {
  ( [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q ) \
    || true
  ( [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor ) \
    || true
  ( [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -f -q /usr/share/icons/hicolor ) \
    || true
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}