summaryrefslogtreecommitdiff
path: root/extra/fcitx/fcitx.install
blob: 316bccffe4bf8459f6a7764cbf1b0f3b4b581f42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  [[ -x usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f usr/share/icons/hicolor || true
  [[ -x usr/bin/update-desktop-database ]] && update-desktop-database -q || true
}

post_upgrade() {
  post_install
}

post_remove() {
  post_install
}