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:
:>//
|