system/dvdisaster: Fix doinst.sh.

Signed-off-by: B. Watson <yalhcru@gmail.com>
This commit is contained in:
B. Watson 2022-04-10 17:21:40 -04:00
parent abb2542467
commit 719a0deb29
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
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

View file

@ -4,6 +4,9 @@
# Written by Giovanne Castro <giovannefc@ig.com.br>
# 20220410 bkw: Modified by SlackBuilds.org, BUILD=2:
# - update icon cache in doinst.sh.
# 20220211 bkw: Modified by SlackBuilds.org:
# - fix parallel build on 15.0.
# - new-style icons.
@ -12,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dvdisaster
VERSION=${VERSION:-0.79.9}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}