summaryrefslogtreecommitdiffstats
path: root/academic/wmcalc
diff options
context:
space:
mode:
Diffstat (limited to 'academic/wmcalc')
-rw-r--r--academic/wmcalc/doinst.sh4
-rw-r--r--academic/wmcalc/wmcalc.SlackBuild3
2 files changed, 6 insertions, 1 deletions
diff --git a/academic/wmcalc/doinst.sh b/academic/wmcalc/doinst.sh
index 2cb6861d40..f79396baf0 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 cb7980a705..7cab2d19df 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}