summaryrefslogtreecommitdiff
path: root/development/gpsim/doinst.sh
diff options
context:
space:
mode:
authorR. S. Ananda Murthy <rsamurti@gmail.com>2014-06-18 13:49:38 +0700
committerErik Hanson <erik@slackbuilds.org>2014-06-18 16:19:04 -0500
commitfc19c1e720f36924c6b6aa90cb7e06db972b3268 (patch)
tree1a3fafcf493f8adf84a0b48d689df008867b73d7 /development/gpsim/doinst.sh
parent0692ac467ab7f4326b9842e9c7a5bdfeb7f81856 (diff)
downloadslackbuilds-fc19c1e720f36924c6b6aa90cb7e06db972b3268.tar.gz
development/gpsim: Added (PIC Microcontrollers Simulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gpsim/doinst.sh')
-rw-r--r--development/gpsim/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/development/gpsim/doinst.sh b/development/gpsim/doinst.sh
new file mode 100644
index 0000000000..3e5691a052
--- /dev/null
+++ b/development/gpsim/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