~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to debian-pdns/.svn/text-base/pdns.postrm.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Mohlmann
  • Date: 2009-11-08 14:48:57 UTC
  • mfrom: (12.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091108144857-og0tz32d6jcx7ocl
Tags: 2.9.22-3
* Fix a syntax error in postinst.
* Removed old upgrade code for splitting the config.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
update_init() {
 
6
        update-rc.d pdns remove > /dev/null
 
7
}
 
8
 
 
9
 
 
10
if [ "$1" = "purge" ] ; then
 
11
        update_init
 
12
        rmdir /etc/powerdns || true
 
13
fi
 
14