summarylogtreecommitdiffstats
path: root/onyx.install
blob: d0fb81593b6d99cff7ee6e347348b24a7520d90d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
       # do something here
       post_upgrade
}
post_upgrade() {
       # do something here
       [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor
       [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
       [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -f /usr/share/icons/hicolor
}
post_remove() {
       # do something here
       post_upgrade
}