File: prerm

package info (click to toggle)
deliver 2.1.14-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 488 kB
  • ctags: 914
  • sloc: ansic: 6,050; yacc: 405; makefile: 131; sh: 34
file content (19 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
# Prerm for Deliver
# Scott K. Ellis <scott@debian.org>

case "$1" in
  remove|purge)
    if grep /usr/bin/deliver /etc/sendmail.cf > /dev/null 2>&1
    then
      echo "Sendmail is configured to use deliver as its local mail delivery"
      echo "agent.  Reconfigure sendmail to not use deliver and try again."
      exit 1
    fi
    ;;

  *)
    ;;
esac

#DEBHELPER#