From 47d31b19e3276544a1893d93b7daddd3964fa75d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 7 Jan 2023 16:22:27 -0500 Subject: games/micropolis: Fix doinst.sh. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/micropolis/doinst.sh | 5 +++++ games/micropolis/micropolis.SlackBuild | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'games/micropolis') diff --git a/games/micropolis/doinst.sh b/games/micropolis/doinst.sh index e4e6459838cbf..9424ce43ff572 100644 --- a/games/micropolis/doinst.sh +++ b/games/micropolis/doinst.sh @@ -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 diff --git a/games/micropolis/micropolis.SlackBuild b/games/micropolis/micropolis.SlackBuild index 4284f696f85a3..bd09100122fba 100644 --- a/games/micropolis/micropolis.SlackBuild +++ b/games/micropolis/micropolis.SlackBuild @@ -25,13 +25,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230107 bkw: BUILD=5, fix doinst.sh. # 20211022 bkw: BUILD=4, new-style icons. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=micropolis VERSION=${VERSION:-20100418} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -- cgit v1.2.3