File: clamav-freshclam.prerm.in

package info (click to toggle)
clamav 0.101.4+dfsg-0+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 29,564 kB
  • sloc: ansic: 158,978; sh: 8,178; cpp: 5,173; makefile: 2,088; yacc: 1,351; lex: 714; python: 120; perl: 17
file content (15 lines) | stat: -rw-r--r-- 229 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

#COMMON-FUNCTIONS#

if [ -x "/etc/init.d/clamav-freshclam" ]; then
  if pathfind invoke-rc.d ; then
    invoke-rc.d clamav-freshclam stop
  else
    /etc/init.d/clamav-freshclam stop
  fi
fi
#DEBHELPER#
exit 0