aboutsummaryrefslogtreecommitdiff
path: root/academic/sigrok-cli/doinst.sh
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2018-12-16 16:24:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-16 16:24:13 +0700
commit2cc91f78d37c9b19c4e191fa437ece5ea8a2225a (patch)
tree140e8b6ff42ef783f91309005f36e63c0e7b42f7 /academic/sigrok-cli/doinst.sh
parent1f30600fe8848813a83578ef26802a642ad16776 (diff)
academic/sigrok-cli: Updated for version 0.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sigrok-cli/doinst.sh')
-rw-r--r--academic/sigrok-cli/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/academic/sigrok-cli/doinst.sh b/academic/sigrok-cli/doinst.sh
new file mode 100644
index 0000000000000..65c7e2eeb9aa5
--- /dev/null
+++ b/academic/sigrok-cli/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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi