aboutsummaryrefslogtreecommitdiff
path: root/system/ddrescueview/doinst.sh
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo@gmail.com>2022-04-06 08:54:46 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:46 +0700
commita1c888513d6f520501c38c496ce5e417383585c4 (patch)
tree02647b9f21bf6a83723d6e241edc5cfef39befc0 /system/ddrescueview/doinst.sh
parent00ea6157e4f2d4f4c35ef2f24072c6f531101576 (diff)
system/ddrescueview: Added (GUI For ddrescue).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ddrescueview/doinst.sh')
-rw-r--r--system/ddrescueview/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/ddrescueview/doinst.sh b/system/ddrescueview/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/system/ddrescueview/doinst.sh
@@ -0,0 +1,13 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi