summaryrefslogtreecommitdiff
path: root/development/stlink/doinst.sh
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2017-03-07 00:08:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-11 07:03:44 +0700
commit90d9a7ddc8e218ebf56a6f4999cd27a1736d4c80 (patch)
tree7fa7a6fd90251cbe7fa1e3c5c7c34b999ca5535a /development/stlink/doinst.sh
parentf3894a0a3ae948baf876e10f037f2b36e93281f7 (diff)
downloadslackbuilds-90d9a7ddc8e218ebf56a6f4999cd27a1736d4c80.tar.gz
development/stlink: Added (stm32 discovery line linux programmer).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/stlink/doinst.sh')
-rw-r--r--development/stlink/doinst.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/development/stlink/doinst.sh b/development/stlink/doinst.sh
new file mode 100644
index 0000000000..aea0f894eb
--- /dev/null
+++ b/development/stlink/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