diff options
author | Andrzej Telszewski <atelszewski@gmail.com> | 2018-12-16 16:24:13 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-16 16:24:13 +0700 |
commit | 2cc91f78d37c9b19c4e191fa437ece5ea8a2225a (patch) | |
tree | 140e8b6ff42ef783f91309005f36e63c0e7b42f7 /academic/sigrok-cli/doinst.sh | |
parent | 1f30600fe8848813a83578ef26802a642ad16776 (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.sh | 9 |
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 |