|
From: Heiko Z. <smi...@us...> - 2005-10-19 21:53:43
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1565 Modified Files: Tag: rel-1-2-patches clamav Log Message: get script dl1.3 ready Index: clamav =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/clamav,v retrieving revision 1.9.2.6 retrieving revision 1.9.2.7 diff -u -d -r1.9.2.6 -r1.9.2.7 --- clamav 19 Oct 2005 21:52:33 -0000 1.9.2.6 +++ clamav 19 Oct 2005 21:53:35 -0000 1.9.2.7 @@ -44,23 +44,23 @@ install ) if [ "$CONFIG_CLAMAV" = "y" ]; then - rm -rf $WORKDIR/tmp || exit 1 - mkdir -p $WORKDIR/tmp/usr/sbin || exit 1 - make install DESTDIR=$WORKDIR/tmp || exit 1 + rm -rf $TMPDIR || exit 1 + mkdir -p $TMPDIR/usr/sbin || exit 1 + make install DESTDIR=$TMPDIR || exit 1 - copy_docs $WORKDIR/tmp + copy_docs $TMPDIR cp etc/*conf $ETCDIR/etc/ || exit 1 useradd -u 45 -s /bin/false -g vscan clamav || exit 1 - rm -rf $WORKDIR/tmp/usr/include || exit 1 - rm -rf $WORKDIR/tmp/usr/lib/*a || exit 1 - copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1 + rm -rf $TMPDIR/usr/include || exit 1 + rm -rf $TMPDIR/usr/lib/*a || exit 1 + copy_files $TMPDIR/usr $CDDIR/ || exit 1 mkdir -p $CDDIR/var/lib/clamav || exit 1 chmod -R 700 $CDDIR/var/lib/clamav || exit 1 chown -R clamav $CDDIR/var/lib/clamav || exit 1 - rm -rf $WORKDIR/tmp || exit 1 + rm -rf $TMPDIR || exit 1 cp -dp $MYDIR/scripts/clamav $ETCDIR/etc/init.d/ || exit 1 echo "# Start ClamAV daemon?" >> $CONFIGFILE |