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 | |
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')
-rw-r--r-- | academic/wmcalc/doinst.sh | 4 | ||||
-rw-r--r-- | academic/wmcalc/wmcalc.SlackBuild | 3 |
2 files changed, 6 insertions, 1 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 diff --git a/academic/wmcalc/wmcalc.SlackBuild b/academic/wmcalc/wmcalc.SlackBuild index cb7980a705195..7cab2d19df027 100644 --- a/academic/wmcalc/wmcalc.SlackBuild +++ b/academic/wmcalc/wmcalc.SlackBuild @@ -27,6 +27,7 @@ # Now maintained by B. Watson <urchlay@slackware.uk> +# 20221226 bkw: add missing update-desktop-database to doinst.sh, BUILD=2. # 20180911 bkw: update for v0.7. # 20160816 bkw: @@ -47,7 +48,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=wmcalc VERSION=${VERSION:-0.7} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |