summarylogtreecommitdiffstats
path: root/xyscan.install
diff options
context:
space:
mode:
authorAnton Leontiev2013-08-23 16:58:29 +0400
committerAnton Leontiev2015-02-15 07:48:01 +0300
commit9b0db61f58c1eab840e81dee577f1afdabce24b2 (patch)
treeefd8315eeacc37b1da5bc78cf5d8c78bbd1c5d99 /xyscan.install
downloadaur-9b0db61f58c1eab840e81dee577f1afdabce24b2.tar.gz
Initial commit
Diffstat (limited to 'xyscan.install')
-rw-r--r--xyscan.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/xyscan.install b/xyscan.install
new file mode 100644
index 00000000000..6cf972aacc6
--- /dev/null
+++ b/xyscan.install
@@ -0,0 +1,12 @@
+post_install() {
+ [ -x /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+ [ -x /usr/bin/update-desktop-database ] && /usr/bin/update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}