~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to debian/postfix-tls.postrm

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-9oky44ylqmhjy7eq
Tags: 2.1.3-1ubuntu17
* Deliver man pages for master.cf services in section 8postfix.
  Remove smtpd.8.gz diversion. Closes: #274777
* Clean up postfix-mysql documentation (created README.Debian files).
  Closes: Warty#2022
* Fix typo in postmap man page.  Closes: #271369

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
# Debian Postfix postrm
 
4
 
 
5
# LaMont Jones <lamont@debian.org>
 
6
 
 
7
case "$1" in
 
8
    remove)
 
9
        dpkg-divert --package postfix-tls --remove --rename \
 
10
                 --divert /usr/lib/postfix/lmtp.postfix \
 
11
                          /usr/lib/postfix/lmtp
 
12
        dpkg-divert --package postfix-tls --remove --rename \
 
13
                 --divert /usr/lib/postfix/smtp.postfix \
 
14
                          /usr/lib/postfix/smtp
 
15
        dpkg-divert --package postfix-tls --remove --rename \
 
16
                 --divert /usr/lib/postfix/smtpd.postfix \
 
17
                          /usr/lib/postfix/smtpd
 
18
        ;;
 
19
 
 
20
    upgrade)
 
21
        ;;
 
22
 
 
23
    purge)
 
24
        ;;
 
25
 
 
26
    failed-upgrade|abort-install|abort-upgrade|disappear)
 
27
        ;;
 
28
 
 
29
    *)
 
30
        echo "postrm called with unknown argument \`$1'" >&2
 
31
        exit 1
 
32
        ;;
 
33
esac
 
34
#DEBHELPER#