aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav/freshclam.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/clamav/freshclam.pre-install')
-rw-r--r--main/clamav/freshclam.pre-install5
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