summaryrefslogtreecommitdiff
path: root/community/xpad/xpad.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/xpad/xpad.install')
-rw-r--r--community/xpad/xpad.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/xpad/xpad.install b/community/xpad/xpad.install
new file mode 100644
index 000000000..b95cc069d
--- /dev/null
+++ b/community/xpad/xpad.install
@@ -0,0 +1,11 @@
+post_install() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ which xdg-icon-resource 1>/dev/null 2>/dev/null && xdg-icon-resource forceupdate || true
+}