~free.ekanayaka/landscape-client/lucid-1.5.0-0ubuntu0.10.04.0

« back to all changes in this revision

Viewing changes to debian/landscape-client.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-09-08 16:35:57 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080908163557-l3ixzj5dxz37wnw2
Tags: 1.0.18-0ubuntu1
New upstream release 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
set -e
 
3
 
 
4
# summary of how this script can be called:
 
5
#        * <postrm> `remove'
 
6
#        * <postrm> `purge'
 
7
#        * <old-postrm> `upgrade' <new-version>
 
8
#        * <new-postrm> `failed-upgrade' <old-version>
 
9
#        * <new-postrm> `abort-install'
 
10
#        * <new-postrm> `abort-install' <old-version>
 
11
#        * <new-postrm> `abort-upgrade' <old-version>
 
12
#        * <disappearer's-postrm> `disappear' <overwriter>
 
13
#          <overwriter-version>
 
14
# for details, see http://www.debian.org/doc/debian-policy/ or
 
15
# the debian-policy package
 
16
 
 
17
case "$1" in
 
18
    purge)
 
19
        deluser --quiet --system landscape >/dev/null || true
 
20
    ;;
 
21
 
 
22
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
23
    ;;
 
24
 
 
25
    *)
 
26
        echo "postrm called with unknown argument \`$1'" >&2
 
27
        exit 1
 
28
    ;;
 
29
esac
 
30
 
 
31
# dh_installdeb will replace this with shell code automatically
 
32
# generated by other debhelper scripts.
 
33
 
 
34
#DEBHELPER#
 
35
 
 
36
exit 0