summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-03-29 22:30:23 +0400
committerRoman I Khimov <khimov@altell.ru>2010-03-30 21:41:59 +0400
commit1f71e0d0b6f76e74ed848d75f6b50896f2ae160b (patch)
tree4e9e403361aad6b887f72c3cbc6cc2009fa99aaf
parente5f884a71e9029d0f376eff0e3b51d3dfec96561 (diff)
clamav-0.94.2: remove deprecated options from config file
Signed-off-by: Roman I Khimov <khimov@altell.ru>
-rw-r--r--recipes/clamav/clamav_0.94.2.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes/clamav/clamav_0.94.2.bb b/recipes/clamav/clamav_0.94.2.bb
index e85cc50a03..3ce005fb13 100644
--- a/recipes/clamav/clamav_0.94.2.bb
+++ b/recipes/clamav/clamav_0.94.2.bb
@@ -2,5 +2,9 @@ require clamav.inc
EXTRA_OECONF += "--program-transform-name=''"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+do_install_append() {
+ # Remove deprecated options
+ sed -ri "/Archive(Block)?Max/d" ${D}/${sysconfdir}/clamd.conf
+} \ No newline at end of file