File: prerm

package info (click to toggle)
maildrop 3.2.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,896 kB
  • sloc: ansic: 29,827; cpp: 18,027; sh: 5,993; makefile: 882; perl: 94
file content (19 lines) | stat: -rw-r--r-- 704 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Exit immediately if a command produces an error.
set -e

if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
  # Remove the alternatives.
  update-alternatives --remove lockmail /usr/bin/lockmail.maildrop
  update-alternatives --remove maildirkw /usr/bin/maildirkw.maildrop
  update-alternatives --remove maildirmake /usr/bin/maildirmake.maildrop
  update-alternatives --remove deliverquota /usr/sbin/deliverquota.maildrop
  update-alternatives --remove maildir.5.gz /usr/share/man/man5/maildir.maildrop.5.gz
  update-alternatives --remove maildirquota.7.gz /usr/share/man/man7/maildirquota.maildrop.7.gz
  update-alternatives --remove makedat /usr/bin/makedat.maildrop
fi

#DEBHELPER#

exit 0