games/sms_sdl: 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 2023-01-07 21:11:12 -05:00 committed by Willy Sudiarto Raharjo
parent 7bfb2a65da
commit 44ce140ae6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 8 additions and 1 deletions

View file

@ -6,3 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime > /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
fi
fi

View file

@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20230107 bkw: BUILD=5, fix doinst.sh.
# 20211024 bkw: BUILD=4
# - made a new icon, hopefully better looking.
# - new-style icons.
@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sms_sdl
VERSION=${VERSION:-0.9.4a_r7.1}
BUILD=${BUILD:-4}
BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}