diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-30 13:58:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-30 15:13:30 +0000 |
commit | 4cd38832fbf55711e7912b9ea74b3264572c04ea (patch) | |
tree | 8e55a4dc90106213ac7a8eab95ea980d83b5fe5f /main/clamav/freshclam.pre-install | |
parent | 871195d63ce0f2681006c25a3a669906fce92302 (diff) | |
download | aports-4cd38832fbf55711e7912b9ea74b3264572c04ea.tar.bz2 aports-4cd38832fbf55711e7912b9ea74b3264572c04ea.tar.xz |
main/clamav: separate clamav-db and freshclam
Having a big static db in a package is not a good idea for /var on disk
installs. We ship the db and freshclam in separate packages.
also clean up the install and init.d scripts while here.
fixes #1047
Diffstat (limited to 'main/clamav/freshclam.pre-install')
-rw-r--r-- | main/clamav/freshclam.pre-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/clamav/freshclam.pre-install b/main/clamav/freshclam.pre-install new file mode 100644 index 0000000000..201184a29f --- /dev/null +++ b/main/clamav/freshclam.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup -S clamav 2>/dev/null +adduser -S -h /var/lib/clamav -H -s /bin/false -D -G clamav clamav 2>/dev/null +exit 0 |