File: postrm.in

package info (click to toggle)
mailcrypt 3.5.9-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,252 kB
  • ctags: 624
  • sloc: lisp: 5,382; python: 1,170; makefile: 215; sh: 172
file content (34 lines) | stat: -rw-r--r-- 684 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "variables"
#! /bin/bash -e
#
# <% postrm %> script for <:=${PACKAGE}:>
#
<:=@COPYRIGHT:>//

set -o posix

case "${1}" in
    abort-install|abort-upgrade|disappear|failed-upgrade|purge|remove|upgrade) :;;
    *) echo >&2 "${0##*/}/<:=${PACKAGE}:>:" \
	"Unknown argument: \"${1}\"."
	exit 1
esac

<:# purge package from <% debconf %> database :>//
case "${1}" in purge)
	if test -e <:=${CONFMODULE}:>; then
	    source <:=${CONFMODULE}:>; db_version 2.0; db_purge
	fi
esac

exit 0
<:
# arch-tag: 6148eca7-0e7f-4362-9ae9-dc2eaa90740a
#
# local variables:
# mode: shell-script
# coding: utf-8
# ispell-local-dictionary: "american"
# ispell-check-comments: exclusive
# end:
:>//