]> git.pld-linux.org Git - packages/clamav.git/blob - clamav-post-updatedb
- rel 2
[packages/clamav.git] / clamav-post-updatedb
1 #!/bin/sh
2
3 [ -f /etc/sysconfig/clamd ] && . /etc/sysconfig/clamd
4
5 [ -z "$FETCH_AFTER_UPGRADE" ] && FETCH_AFTER_UPGRADE="no"
6
7 if [ "$UPDATE_QUIET" = "yes" ]; then
8     freshclamopt="--quiet"
9 fi
10     
11 if [ "$FETCH_AFTER_UPGRADE" = "yes" ]; then
12         umask 022
13         /usr/bin/freshclam $freshclamopt -l /var/log/freshclam.log --daemon-notify || :
14 fi
15
This page took 0.02506 seconds and 3 git commands to generate.