summaryrefslogtreecommitdiffstats
path: root/system/scanmem/doinst.sh
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 07:58:31 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-03-12 08:03:12 +0700
commit1c462da6610f7267320b831cc332830cd1e7eb87 (patch)
tree053048ceb3020b126e975160ca4ad4aeab900c4f /system/scanmem/doinst.sh
parent3307d281b8f25fe9eb5906a7d2b4aa187fe11b7e (diff)
downloadslackbuilds-1c462da6610f7267320b831cc332830cd1e7eb87.tar.gz
slackbuilds-1c462da6610f7267320b831cc332830cd1e7eb87.tar.xz
system/scanmem: Updated for version 0.15.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/scanmem/doinst.sh')
-rw-r--r--system/scanmem/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/scanmem/doinst.sh b/system/scanmem/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/system/scanmem/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi