From 1b426d8a9fe1f3a04fab168d6851734bf5e84f52 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 28 Jun 2011 11:50:43 +0200 Subject: [PATCH] GRMLBASE/98-clean-chroot: recursively remove /var/lib/clamav/clamav-*. --- etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4