~ubuntu-branches/debian/sid/sendmail/sid

« back to all changes in this revision

Viewing changes to debian/build/debian/libmilter.postrm.in

  • Committer: Bazaar Package Importer
  • Author(s): Richard A Nelson (Rick)
  • Date: 2007-05-05 20:10:00 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20070505201000-xd515upx318zlkgh
Tags: 8.14.1-1
* *** *** libmilter gets a new version *** ***
  *** *** MimeDefang and other packages will need to be rebuilt *** ***

* New upstream release
  - Fix 8.14.0 regressions & issues
* Refit patches
* Drop qtool patch, equivalent applied upstream
* Force configure defaults (new machine, gotta get it right)
* update configure.ac for newer db versions
* refresh FAQ
* build against db4.5                                      closes: #421945
* build-indep-depends on groff, not groff-base             closes: #362872

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
#
 
3
# Debian post removal script
 
4
#
 
5
# Install of already installed package:
 
6
#       1) Upgrade of package:
 
7
#               new-preinst upgrade old-version
 
8
#               *) new-postrm abort-upgrade old-version
 
9
#       2) package had some configuration files from a previous version installed
 
10
#               new-preinst install old-version
 
11
#               *) new-postrm abort-install old-version
 
12
#       3) Otherwise (i.e., the package was completely purged)
 
13
#               new-preinst install
 
14
#               *) new-postrm abort-install
 
15
#
 
16
# Removal of a package:
 
17
#       1) prerm remove
 
18
#       2) The package's files are removed (except conffiles).
 
19
#       3) postrm remove
 
20
#       4) All the maintainer scripts except the postrm are removed.
 
21
#       5) The conffiles and any backup files
 
22
#               (~-files, #*# files, %-files, .dpkg-{old,new,tmp}, etc.) are removed.
 
23
#       6) postrm purge
 
24
#       7) The package's file list is removed
 
25
#
 
26
set -e;
 
27
 
 
28
PACKAGE=libmilter@sm_libmilter_version@;
 
29
 
 
30
case "$1" in
 
31
        remove)
 
32
                # /usr/share/doc/$PACKAGE is a symlink to /usr/share/doc/sendmail
 
33
                rm -f @docdir@/$PACKAGE 2>/dev/null || true;
 
34
                rmdir @docdir@/sendmail 2>/dev/null || true;
 
35
                ;;
 
36
 
 
37
        purge)
 
38
                ;;
 
39
 
 
40
        upgrade)
 
41
                ;;
 
42
 
 
43
        failed-upgrade|abort-install|abort-upgrade|disappear)
 
44
                ;;
 
45
 
 
46
        *)
 
47
                echo "$PACKAGE postrm called with unknown argument \`$1'" >&2;
 
48
                exit 1;
 
49
                ;;
 
50
        esac;
 
51
 
 
52
#DEBHELPER#
 
53
exit 0;