diff options
Diffstat (limited to 'onyx.install')
-rw-r--r-- | onyx.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/onyx.install b/onyx.install new file mode 100644 index 000000000000..d0fb81593b6d --- /dev/null +++ b/onyx.install @@ -0,0 +1,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 +} |