From: Michael Prokop Date: Tue, 28 Jun 2011 09:50:43 +0000 (+0200) Subject: GRMLBASE/98-clean-chroot: recursively remove /var/lib/clamav/clamav-*. X-Git-Tag: v0.15.0~17 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=1b426d8a9fe1f3a04fab168d6851734bf5e84f52 GRMLBASE/98-clean-chroot: recursively remove /var/lib/clamav/clamav-*. --- diff --git a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot index 59d0a00..923277f 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot +++ b/etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot @@ -142,7 +142,7 @@ if ! [ -d $target/var/lib/clamav/ ] ; then echo "Warning: clamav[-freshclam] not installed" else echo "Cleaning /var/lib/clamav/" - rm -f $target/var/lib/clamav/clamav-* + $ROOTCMD rm -rf /var/lib/clamav/clamav-* echo "Setting up daily.cvd and main.cvd symlinks" if [ -f $target/var/lib/clamav/daily.cvd ] ; then