aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/zita-dpl1/doinst.sh5
-rw-r--r--audio/zita-dpl1/zita-dpl1.SlackBuild4
2 files changed, 8 insertions, 1 deletions
diff --git a/audio/zita-dpl1/doinst.sh b/audio/zita-dpl1/doinst.sh
index 4e8ba7071dea7..3e5691a052b5b 100644
--- a/audio/zita-dpl1/doinst.sh
+++ b/audio/zita-dpl1/doinst.sh
@@ -2,3 +2,8 @@ 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/audio/zita-dpl1/zita-dpl1.SlackBuild b/audio/zita-dpl1/zita-dpl1.SlackBuild
index ac9ca6a92c838..57989232a450f 100644
--- a/audio/zita-dpl1/zita-dpl1.SlackBuild
+++ b/audio/zita-dpl1/zita-dpl1.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230106 bkw: BUILD=3, fix bad doc ownership, fix doinst.sh.
# 20211205 bkw: BUILD=2, new-style icons.
# 20191202 bkw: updated for v0.3.3
# 20170122 bkw: updated for v0.1.0
@@ -14,7 +15,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zita-dpl1
VERSION=${VERSION:-0.3.3}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -57,6 +58,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+