Viitor_clamav/tmp/postinstall
kueller 17d3750ffd V962 Branch
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_clamav@4354 504e572c-2e33-0410-9681-be2bf7408885
2008-05-03 17:00:45 +00:00

11 lines
215 B
Bash

#!/bin/bash
if ! getent group clamav >/dev/null; then
groupadd -g 30 clamav
fi
if ! getent passwd clamav >/dev/null; then
useradd -u 55 -g clamav -d /tmp clamav
fi
chown clamav:clamav /usr/share/clamav/main.cvd