void-packages/srcpkgs/clamav/INSTALL
2017-07-13 09:08:37 +00:00

15 lines
294 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