void-packages/srcpkgs/clamav/INSTALL

16 lines
297 B
Text
Raw Normal View History

2015-04-28 07:46:11 +00:00
# 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