summaryrefslogtreecommitdiffstats
path: root/development/vscode-bin/doinst.sh
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2019-04-06 01:30:15 +0200
committer Willy Sudiarto Raharjo2019-04-06 01:51:10 +0200
commit5df383a71ccf4633c1227a0de753f0758e8bb5a7 (patch)
treef53dd6995d4c5797f5437e3c462a0b39bbf6c456 /development/vscode-bin/doinst.sh
parentd979a1d73ddec32ee8443c25ec405749ec4fc585 (diff)
downloadslackbuilds-5df383a71ccf4633c1227a0de753f0758e8bb5a7.tar.gz
development/vscode-bin: Added (Visual Studio Code).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/vscode-bin/doinst.sh')
-rw-r--r--development/vscode-bin/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/vscode-bin/doinst.sh b/development/vscode-bin/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/vscode-bin/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