aboutsummaryrefslogtreecommitdiff
path: root/games/micropolis
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-07 16:22:27 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:18 +0700
commit47d31b19e3276544a1893d93b7daddd3964fa75d (patch)
tree64022eb8d8d208be76273cfd18e096201232f29d /games/micropolis
parentdde6bba6dc130e0425bd4bf732b10a1609186aab (diff)
games/micropolis: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/micropolis')
-rw-r--r--games/micropolis/doinst.sh5
-rw-r--r--games/micropolis/micropolis.SlackBuild3
2 files changed, 7 insertions, 1 deletions
diff --git a/games/micropolis/doinst.sh b/games/micropolis/doinst.sh
index e4e6459838cb..9424ce43ff57 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 4284f696f85a..bd09100122fb 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}