diff options
-rw-r--r-- | network/mosaic-ck/doinst.sh | 6 | ||||
-rw-r--r-- | network/mosaic-ck/mosaic-ck.SlackBuild | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/network/mosaic-ck/doinst.sh b/network/mosaic-ck/doinst.sh index 6723fb108edc8..0681523e4f139 100644 --- a/network/mosaic-ck/doinst.sh +++ b/network/mosaic-ck/doinst.sh @@ -2,6 +2,12 @@ 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 + fi +fi + # If there's no Mosaic link, take over: if [ ! -r usr/bin/Mosaic ]; then ( cd usr/bin ; ln -sf mosaic-ck Mosaic ) diff --git a/network/mosaic-ck/mosaic-ck.SlackBuild b/network/mosaic-ck/mosaic-ck.SlackBuild index 7b186da0e4016..556e223119331 100644 --- a/network/mosaic-ck/mosaic-ck.SlackBuild +++ b/network/mosaic-ck/mosaic-ck.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230108 bkw: BUILD=2, fix doinst.sh. # 20211207 bkw: update for 2.7ck13, which contains build fixes # for recent glibc (e.g. the one in Slackware -current). Also # add new-style icons. @@ -24,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=mosaic-ck VERSION=${VERSION:-2.7ck13} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} |