summaryrefslogtreecommitdiffstats
path: root/clamav
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-06-10 08:09:36 +0000
committer Eric Hameleers <alien@slackware.com>2008-06-10 08:09:36 +0000
commit59393e6b8eab81bf555c26f2fed264cd6b86a0bf (patch)
treee65fe0be3529793867a06baa5491c0055941ea02 /clamav
parent7c17301246db2d5965e74e47cdb02092c953a7cb (diff)
downloadasb-59393e6b8eab81bf555c26f2fed264cd6b86a0bf.tar.gz
asb-59393e6b8eab81bf555c26f2fed264cd6b86a0bf.tar.xz
Set ownership of all files to root (otherwise we'd end up with two files owned by clamav uid)
Diffstat (limited to 'clamav')
-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