~ubuntu-branches/ubuntu/dapper/gnats/dapper

« back to all changes in this revision

Viewing changes to debian/gnats-user.postrm.in

  • Committer: Bazaar Package Importer
  • Author(s): Chad Walstrom
  • Date: 2005-03-07 17:56:31 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050307175631-agtm10dvjbemuc64
Tags: 4.1.0-0
* New upstream version
* debian/rules: now uses '--with-lispdir' option instead of environment
  variable overloading. Re-enabled optimization.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# Gnats installation script -- written by Brian White <bcwhite@pobox.com>
 
4
# (This was my very first attempt at learning perl... please forgive me!)
 
5
#
 
6
# Forgiving -- rewritten to bash :-) by Milan Zamazal <pdm@debian.org>.
 
7
# ...and streamlined with SED by Chad Walstrom <chewie@debian.org>
 
8
 
 
9
set -e
 
10
 
 
11
###############################################################################
 
12
#
 
13
# Utility functions
 
14
#
 
15
 
 
16
# Call arguments and never return error
 
17
function protect () { "$@" || true; }
 
18
 
 
19
###############################################################################
 
20
#
 
21
# Common initialization for install scripts
 
22
#
 
23
 
 
24
. /usr/share/debconf/confmodule
 
25
 
 
26
 
 
27
###############################################################################
 
28
#
 
29
# Remove the 'gnats' debconf data
 
30
#
 
31
 
 
32
if [ "$1" = purge ]; then
 
33
  db_purge
 
34
fi
 
35
 
 
36
 
 
37
 
 
38
###############################################################################
 
39
#
 
40
# Automatically added debhelper stuff
 
41
#
 
42
#DEBHELPER#