summaryrefslogtreecommitdiff
path: root/development/visual-studio-code/doinst.sh
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2015-10-28 23:56:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-29 19:37:09 +0700
commitc07d3ac0b40b4b7e725cbd028870fc2683642788 (patch)
tree48a21ad3f79376e089a988586609a173d934fb05 /development/visual-studio-code/doinst.sh
parentd0a057cdf40b2fbcbeeb7a07b925732e5f799701 (diff)
downloadslackbuilds-c07d3ac0b40b4b7e725cbd028870fc2683642788.tar.gz
development/visual-studio-code: Added (Development IDE).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/visual-studio-code/doinst.sh')
-rw-r--r--development/visual-studio-code/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/visual-studio-code/doinst.sh b/development/visual-studio-code/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/visual-studio-code/doinst.sh
@@ -0,0 +1,9 @@
+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