summaryrefslogtreecommitdiff
path: root/graphics/renderdoc/doinst.sh
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2020-09-04 17:18:23 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-09-05 08:26:47 +0700
commitd66b56ce989b0558a00fee7c5259cca9ac1b71f4 (patch)
tree17123c17c14b86b87a747bf2f55732b219865390 /graphics/renderdoc/doinst.sh
parentf3bb5bf2cc4a48428a8cac4ddbe77166e891c597 (diff)
downloadslackbuilds-d66b56ce989b0558a00fee7c5259cca9ac1b71f4.tar.gz
graphics/renderdoc: Added (Stand-alone graphics debugging tool)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/renderdoc/doinst.sh')
-rw-r--r--graphics/renderdoc/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/renderdoc/doinst.sh b/graphics/renderdoc/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/graphics/renderdoc/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