aboutsummaryrefslogtreecommitdiff
path: root/development/vscodium/doinst.sh
diff options
context:
space:
mode:
authorrc-05 <rc23@email.it>2021-03-18 22:48:46 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-03-20 11:00:42 +0700
commitd3901c687de15da0c658618fb636ebeb6fbc3454 (patch)
tree3f64d38bd91bd85575a9e374175f9f9582d4add2 /development/vscodium/doinst.sh
parent5b4967c910f09548e4ab2359989833b776cdf55a (diff)
development/vscodium: Added (Visual Studio Code FOSS Binary Release)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/vscodium/doinst.sh')
-rw-r--r--development/vscodium/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/vscodium/doinst.sh b/development/vscodium/doinst.sh
new file mode 100644
index 0000000000000..aea0f894eb32b
--- /dev/null
+++ b/development/vscodium/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