aboutsummaryrefslogtreecommitdiff
path: root/development/mcu8051ide/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-29 10:08:21 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-29 10:08:21 +0700
commit9553f98f6cc65173388602e4d2d80e2c6497bd4a (patch)
tree6eb9dbca71fa9f9f08f9d432114d303dd7c8a5c2 /development/mcu8051ide/doinst.sh
parentab0df875814f98fc910e11b73ca66ecd5711982a (diff)
development/mcu8051ide: Added (GUI IDE for 8051 microcontrollers).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mcu8051ide/doinst.sh')
-rw-r--r--development/mcu8051ide/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/mcu8051ide/doinst.sh b/development/mcu8051ide/doinst.sh
new file mode 100644
index 0000000000000..031ae07d05995
--- /dev/null
+++ b/development/mcu8051ide/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 [ -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
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi