summaryrefslogtreecommitdiffstats
path: root/clamav/build
diff options
context:
space:
mode:
Diffstat (limited to 'clamav/build')
-rwxr-xr-xclamav/build/clamav.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/clamav/build/clamav.SlackBuild b/clamav/build/clamav.SlackBuild
index 07e592dc..4b686f73 100755
--- a/clamav/build/clamav.SlackBuild
+++ b/clamav/build/clamav.SlackBuild
@@ -354,6 +354,9 @@ if [ -f $SRCDIR/doinst.sh ]; then
cat $SRCDIR/doinst.sh >> $PKG/install/doinst.sh
fi
+# Set ownership to root - the doinst.sh will set things straight again:
+chown -R root:root $PKG
+
# Build the package:
cd $PKG
makepkg --linkadd y --chown n $OUTPUT/$PRGNAM-$VERSION-$ARCH-${BUILD}${TAG}.tgz 2>&1 | tee $OUTPUT/makepkg-${PRGNAM}.log