~ubuntu-branches/ubuntu/utopic/dbskkd-cdb/utopic

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2010-02-14 22:59:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100214225911-3omxjw00filcycwr
Tags: 1:2.00-2
* debian/control:
  - Add ${misc:Depends} to Depends.
  - Update Standards-Version to 3.8.4.
* debian/postinst: Use --remove and --add to completely replace an entry
  for update-inetd.
* debian/postrm: When "remove", use --disable instead of --remove for
  update-inetd.
* debian/copyright: Updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
if [ "$1" = "remove" ]; then
5
5
    if which update-inetd >/dev/null 2>&1; then
6
 
        update-inetd --remove 'skkserv\t\tstream\ttcp\tnowait\tnobody\t/usr/sbin/tcpd\t/usr/sbin/dbskkd-cdb' || true
 
6
        update-inetd --multi --disable skkserv || true
7
7
    fi
8
8
fi
9
9
if [ "$1" = "purge" ]; then