network/mosaic-ck: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
2290748aa8
commit
d79c4df150
|
@ -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 )
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue