summaryrefslogtreecommitdiffstats
path: root/system/testdisk/doinst.sh
diff options
context:
space:
mode:
author Aaditya Bagga2015-04-25 15:58:03 +0200
committer Willy Sudiarto Raharjo2015-04-25 16:24:47 +0200
commit3c27715c062433eec32f8de2eeb408cd40670609 (patch)
treea5e544972a978624bd3681460dc5bcf1e6976acc /system/testdisk/doinst.sh
parent8380d886c88ebcdd5494446b4d219a30d72c790a (diff)
downloadslackbuilds-3c27715c062433eec32f8de2eeb408cd40670609.tar.gz
system/testdisk: Updated for version 7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/testdisk/doinst.sh')
-rw-r--r--system/testdisk/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/testdisk/doinst.sh b/system/testdisk/doinst.sh
new file mode 100644
index 0000000000..bd8f3bab51
--- /dev/null
+++ b/system/testdisk/doinst.sh
@@ -0,0 +1,11 @@
+
+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
+