projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
649b40f
)
GRMLBASE/98-clean-chroot: recursively remove /var/lib/clamav/clamav-*.
author
Michael Prokop
<mika@grml.org>
Tue, 28 Jun 2011 09:50:43 +0000
(11:50 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 28 Jun 2011 09:50:43 +0000
(11:50 +0200)
etc/grml/fai/config/scripts/GRMLBASE/98-clean-chroot
patch
|
blob
|
history
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
(executable)
--- 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