aboutsummaryrefslogtreecommitdiff
path: root/system/testdisk/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2015-04-25 19:28:03 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-25 21:24:47 +0700
commit3c27715c062433eec32f8de2eeb408cd40670609 (patch)
treea5e544972a978624bd3681460dc5bcf1e6976acc /system/testdisk/doinst.sh
parent8380d886c88ebcdd5494446b4d219a30d72c790a (diff)
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 000000000000..bd8f3bab5108
--- /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
+