summaryrefslogtreecommitdiff
path: root/packages/clamav/clamav.inc
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2006-11-22 00:38:00 +0000
committerJamie Lenehan <lenehan@twibble.org>2006-11-22 00:38:00 +0000
commitbf547c9043b91d9a7d8785e1cc5a5c6f74fe499c (patch)
treedea775dc1f2ecd5dd68c4567cea9906a9b76b7a3 /packages/clamav/clamav.inc
parent5ad430932e4d09cc0207ad9cfa029e0e08252b37 (diff)
packages: Update the packages that use volatiles to pass update as a
parameter to populate-volatiles.sh to ensure that the volatiles cache is updated (if its in use) when a package is added after the initial boot. The update parameter is ignore is the cache is not in use and by older versions of populate-volatiles.sh that don't support this parameter.
Diffstat (limited to 'packages/clamav/clamav.inc')
-rw-r--r--packages/clamav/clamav.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/clamav/clamav.inc b/packages/clamav/clamav.inc
index 2a09c52461..b18cd06c24 100644
--- a/packages/clamav/clamav.inc
+++ b/packages/clamav/clamav.inc
@@ -93,21 +93,21 @@ pkg_postinst_${PN}-freshclam () {
grep -q clamav: /etc/passwd || \
adduser --disabled-password --home=/var/lib/clamav/ --system \
--ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
+ /etc/init.d/populate-volatile.sh update
}
pkg_postinst_${PN}-daemon () {
grep -q clamav: /etc/group || addgroup clamav
grep -q clamav: /etc/passwd || \
adduser --disabled-password --home=/var/lib/clamav/ --system \
--ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
+ /etc/init.d/populate-volatile.sh update
}
pkg_postinst_${PN}-data () {
grep -q clamav: /etc/group || addgroup clamav
grep -q clamav: /etc/passwd || \
adduser --disabled-password --home=/var/lib/clamav/ --system \
--ingroup clamav --no-create-home -g "ClamAV" clamav
- /etc/init.d/populate-volatile.sh
+ /etc/init.d/populate-volatile.sh update
}
# Indicate that the default files are configuration files