system/font-manager: Fix doinst.sh.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-04-11 02:54:27 -04:00 committed by Willy Sudiarto Raharjo
parent f8fe1d67b9
commit 824a9fe887
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 1 deletions

View File

@ -8,3 +8,8 @@ if [ -e usr/share/glib-2.0/schemas ]; then
fi
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

View File

@ -22,6 +22,9 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2:
# - update icon cache in doinst.sh (no script changes).
# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
# by updating to v0.8.8.
@ -32,7 +35,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=font-manager
VERSION=${VERSION:-0.8.8}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}