ALT Linux repos
S: | 0.103.8-alt1 |
5.0: | 0.95.2-alt0.M50.1 |
4.1: | 0.97.8-alt0.M41.1 |
+updates: | 0.94.1-alt0.M41.1 |
4.0: | 0.97.8-alt0.M40.1 |
+updates: | 0.91.2-alt1 |
3.0: | 0.86.2-alt1 |
+updates: | 0.91.1-alt0.M30.1 |
+backports: | 0.93.3-alt0.M30.1 |
Other repositories
Upstream: | 0.93rc1 |
Group :: File tools
RPM: clamav
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#!/bin/sh
# A simple update script for the clamav virus database. This could as well
# be replaced by a SysV script.
# create directory if needed (if tmpfs used)
[ -d "/var/run/clamav" ] || {
mkdir "/var/run/clamav"
chown root:mail "/var/run/clamav"
chmod 775 "/var/run/clamav"
}
# fix log file if needed
LOG_FILE="/var/log/clamav/freshclam.log"
if [ ! -f ${LOG_FILE} ]; then
touch $LOG_FILE
chmod 644 $LOG_FILE
chown mail.mail $LOG_FILE
fi
/usr/bin/freshclam \
--quiet \
--datadir=/var/lib/clamav \
--log=$LOG_FILE \
--log-verbose \
--daemon-notify