diff options
author | B. Watson <urchlay@slackware.uk> | 2022-12-26 16:32:04 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-12-31 09:14:48 +0700 |
commit | 1adf6b6560d39ce91cb266e4801dd043658a52e9 (patch) | |
tree | 09ac579ee120b223e95e1dbee6c070f3d4ed58a4 /academic/wmcalc/doinst.sh | |
parent | 258030c11e5e6c8a5f9ffb9bea678eb972be88e1 (diff) |
academic/wmcalc: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/wmcalc/doinst.sh')
-rw-r--r-- | academic/wmcalc/doinst.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/academic/wmcalc/doinst.sh b/academic/wmcalc/doinst.sh index 2cb6861d40d30..f79396baf058b 100644 --- a/academic/wmcalc/doinst.sh +++ b/academic/wmcalc/doinst.sh @@ -1,3 +1,7 @@ +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 |