academic/wmcalc: Fix doinst.sh.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-12-26 16:32:04 -05:00 committed by Willy Sudiarto Raharjo
parent 258030c11e
commit 1adf6b6560
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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}