~ubuntu-branches/ubuntu/quantal/clamav-unofficial-sigs/quantal

« back to all changes in this revision

Viewing changes to debian/debian.conf

  • Committer: Package Import Robot
  • Author(s): Paul Wise
  • Date: 2012-06-01 19:27:28 UTC
  • Revision ID: package-import@ubuntu.com-20120601192728-yndykmmbn21xubwo
Tags: 3.7.1-3
Don't run clamdscan if it is not present

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
comment_silence="yes"
33
33
 
34
34
# Reload clamav database by default
35
 
reload_dbs=yes
 
35
# But do not run clamdscan if it isn't present
 
36
case $reload_opt in
 
37
  clamdscan\ *)
 
38
    if test -x /usr/bin/clamdscan ; then
 
39
      reload_dbs=yes
 
40
    else
 
41
      reload_dbs=no
 
42
      unset reload_opt
 
43
    fi
 
44
  ;;
 
45
  *)
 
46
    reload_dbs=yes
 
47
  ;;
 
48
esac
36
49
 
37
50
# Prevent the -r option from removing stuff
38
51
pkg_mgr="apt"