File: postinst.in

package info (click to toggle)
mailcrypt 3.5.9-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,268 kB
  • ctags: 624
  • sloc: lisp: 5,382; python: 1,170; makefile: 215; sh: 172
file content (40 lines) | stat: -rw-r--r-- 772 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
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#include "variables"
#! /bin/bash
#
# <% postinst %> script for <:=${PACKAGE}:>
#
<:=@COPYRIGHT:>//

set -e
set -o posix

<:
# parse <% debconf %> database: do not remove,
# even if no further use of it is made here
:>//
source <:=${CONFMODULE}:>
db_version 2.0

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

<:# Emacs install :>//
case "${1}" in abort-deconfigure|abort-remove|abort-upgrade|configure)
    <:=${EINSTALL}:> <:=${PACKAGE}:>
esac

exit 0
<:
# arch-tag: 3b9edfc5-752f-46b3-a095-3346d42ba686
#
# local variables:
# mode: shell-script
# coding: utf-8
# ispell-local-dictionary: "american"
# ispell-check-comments: exclusive
# end:
:>//