milis/talimatname/genel/c/clamav/clamav.kur-kos

12 lines
303 B
Plaintext

if [ -z `getent group clamav` ]; then
groupadd -r clamav
fi
if [ -z `getent passwd clamav` ]; then
useradd -r -g clamav -d /etc/clamav -s /bin/false -c "ClamAV" clamav
fi
isim=clamav
chown -R $isim:$isim $PKG/var/run/$isim $PKG/var/log/$isim
install -o clamav -g clamav -m 0775 -d /usr/share/clamav