~ubuntu-branches/ubuntu/trusty/rstatd/trusty

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Herbert Xu
  • Date: 2001-08-10 07:30:19 UTC
  • Revision ID: james.westby@ubuntu.com-20010810073019-r5snxn85ug5zb39f
Tags: 3.03-7
Added libc6-dev to build-time dependency for rpcgen (closes: #108179).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
# $Id: postrm,v 1.1 1999/09/17 05:42:11 herbert Exp $
 
3
 
 
4
case "$1" in
 
5
abort-install | remove | abort-upgrade | upgrade | failed-upgrade | disappear)
 
6
        ;;
 
7
purge)
 
8
        # If netbase is not installed, then we don't need to do the remove.
 
9
        if command -v update-inetd >/dev/null 2>&1; then
 
10
                update-inetd --remove "rstatd   .*      /usr/sbin/rpc.rstatd"
 
11
        fi
 
12
        ;;
 
13
*)
 
14
        echo "$0: incorrect arguments: $*" >&2
 
15
        exit 1
 
16
        ;;
 
17
esac
 
18
 
 
19
#DEBHELPER#