summaryrefslogtreecommitdiff
path: root/system/dvdisaster
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-04-10 17:21:40 -0400
committerB. Watson <yalhcru@gmail.com>2022-04-10 17:21:40 -0400
commit719a0deb29063c55a0866b882586f57bf2613e58 (patch)
tree6d740e729acf75f0ee910a14c6f984733bec228e /system/dvdisaster
parentabb2542467a69eb0f2979176d43159c71eeab7a2 (diff)
downloadslackbuilds-719a0deb29063c55a0866b882586f57bf2613e58.tar.gz
system/dvdisaster: Fix doinst.sh.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/dvdisaster')
-rw-r--r--system/dvdisaster/doinst.sh6
-rw-r--r--system/dvdisaster/dvdisaster.SlackBuild5
2 files changed, 10 insertions, 1 deletions
diff --git a/system/dvdisaster/doinst.sh b/system/dvdisaster/doinst.sh
index 5fb28930db..3e5691a052 100644
--- a/system/dvdisaster/doinst.sh
+++ b/system/dvdisaster/doinst.sh
@@ -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
diff --git a/system/dvdisaster/dvdisaster.SlackBuild b/system/dvdisaster/dvdisaster.SlackBuild
index 1c89d2e97e..bf918d30a3 100644
--- a/system/dvdisaster/dvdisaster.SlackBuild
+++ b/system/dvdisaster/dvdisaster.SlackBuild
@@ -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}