void-packages/srcpkgs/clamav/INSTALL
2015-04-29 12:53:12 +02:00

15 lines
297 B
Text

# INSTALL
case "$ACTION" in
post)
# Only if not updating
if [ "$UPDATE" != "yes" ]; then
# Create the database directory
mkdir -p /var/lib/clamav
# The clamav user owns it
chown -R clamav:clamav /var/lib/clamav
# Let group members write to it
chmod g+w /var/lib/clamav
fi
;;
esac