summarylogtreecommitdiffstats
path: root/onyx.install
diff options
context:
space:
mode:
authorStephen Martin2015-06-08 10:48:10 -0500
committerStephen Martin2015-06-08 10:48:10 -0500
commit1493204ce0b8b23b83e0cf3e4fde8f16fe9e89e1 (patch)
tree9773dc10707833b8abf67f8d4af20b806bdcf7d8 /onyx.install
downloadaur-1493204ce0b8b23b83e0cf3e4fde8f16fe9e89e1.tar.gz
Updated to AUR4
Diffstat (limited to 'onyx.install')
-rw-r--r--onyx.install14
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
+}