diff options
-rw-r--r-- | games/micropolis/doinst.sh | 5 | ||||
-rw-r--r-- | games/micropolis/micropolis.SlackBuild | 3 |
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} |