contrib/clamav/pre-install

11 lines
225 B
Bash
Executable File

#!/bin/sh
if [ -z `getent group clamav` ]; then
/usr/sbin/groupadd -r clamav
fi
if [ -z `getent passwd clamav` ]; then
/usr/sbin/useradd -r -g clamav -d /etc/clamav -s /bin/false -c "ClamAV" clamav
/usr/bin/passwd -l
fi