diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-08 04:20:28 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:24 +0700 |
commit | d79c4df150d32a6291b5ae8821e349b9c88e6dff (patch) | |
tree | ac7b6258503e10e8f7fb4b54055d097ec6343eed /network/mosaic-ck | |
parent | 2290748aa89a881fb5901c86251728250d39c20f (diff) |
network/mosaic-ck: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/mosaic-ck')
-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 6723fb108edc..0681523e4f13 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 7b186da0e401..556e22311933 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} |