summarylogtreecommitdiffstats
path: root/scanmem.install
diff options
context:
space:
mode:
authoranthraxx2015-07-17 02:02:52 +0200
committeranthraxx2015-07-17 02:02:52 +0200
commit42593a601c9a4e624e677c6480352309583193f2 (patch)
tree1d32c9adef59df53681ff134eef63e552f1ea97b /scanmem.install
parent63f103e330158a72843a5a74def6a95d193e6a1c (diff)
downloadaur-42593a601c9a4e624e677c6480352309583193f2.tar.gz
upgpkg: scanmem-git 0.15.2.6.g5cf1f26-1
upstream release
Diffstat (limited to 'scanmem.install')
-rw-r--r--scanmem.install23
1 files changed, 23 insertions, 0 deletions
diff --git a/scanmem.install b/scanmem.install
new file mode 100644
index 000000000000..dad6017120c9
--- /dev/null
+++ b/scanmem.install
@@ -0,0 +1,23 @@
+update_cache() {
+ if [ -x usr/bin/xdg-icon-resource ]; then
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null 2>&1
+ fi
+
+ if [ -x usr/bin/update-desktop-database ]; then
+ usr/bin/update-desktop-database -q
+ fi
+}
+
+post_install() {
+ update_cache
+}
+
+post_upgrade() {
+ update_cache
+}
+
+post_remove() {
+ update_cache
+}
+
+# vim: ts=2 sw=2 et: