~ubuntu-branches/ubuntu/karmic/hddtemp/karmic

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno
  • Date: 2004-05-04 01:48:26 UTC
  • Revision ID: james.westby@ubuntu.com-20040504014826-mkxsm2pzf01djma3
Tags: 0.3-beta11-10
If a debconf answer is empty, ignore it (closes: bug#247026). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
# postrm script for hddtemp
 
3
set -e
 
4
 
 
5
conffile="/etc/default/hddtemp"
 
6
 
 
7
case "$1" in
 
8
        purge)
 
9
                rm -f $conffile
 
10
        ;;
 
11
        remove)
 
12
                rm -f /usr/bin/hddtemp
 
13
        ;;
 
14
        upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
15
        ;;
 
16
        *)
 
17
                echo "postrm called with unknown argument \`$1'" >&2
 
18
                exit 1
 
19
        ;;
 
20
esac
 
21
 
 
22
# dh_installdeb will replace this with shell code automatically
 
23
# generated by other debhelper scripts.
 
24
 
 
25
#DEBHELPER#
 
26
 
 
27
exit 0