Viitor_clamav/tmp/postinstall
kueller 168e831d92 V961 Tree Umbau
git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_clamav@4238 504e572c-2e33-0410-9681-be2bf7408885
2008-05-03 16:58:44 +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