aboutsummaryrefslogtreecommitdiffstats
path: root/community/clamav/freshclam.pre-install
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2021-04-25 10:33:36 +0000
committerMilan P. Stanić <mps@arvanta.net>2021-04-25 10:33:36 +0000
commita020157295b786fc5a8dd897ee40e0b701deb915 (patch)
treea7658ff4d977ecd9b88e916042f173643490b363 /community/clamav/freshclam.pre-install
parent0c96ac8fac701e923b0e6d181820dc48b2819798 (diff)
community/clamav: move from main
Diffstat (limited to 'community/clamav/freshclam.pre-install')
-rw-r--r--community/clamav/freshclam.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/clamav/freshclam.pre-install b/community/clamav/freshclam.pre-install
new file mode 100644
index 00000000000..a5da8290319
--- /dev/null
+++ b/community/clamav/freshclam.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S clamav 2>/dev/null
+adduser -S -D -H -h /var/lib/clamav -s /sbin/nologin -G clamav -g clamav clamav 2>/dev/null
+
+exit 0