summarylogtreecommitdiffstats
path: root/xyscan.install
diff options
context:
space:
mode:
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 000000000000..6cf972aacc63
--- /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
+}