From 59393e6b8eab81bf555c26f2fed264cd6b86a0bf Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Tue, 10 Jun 2008 08:09:36 +0000 Subject: Set ownership of all files to root (otherwise we'd end up with two files owned by clamav uid) --- clamav/build/clamav.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clamav/build') 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 -- cgit v1.2.3-65-gdbad