source: alternc-slavedns/trunk/debian/postrm @ 3165

Revision 3165, 493 bytes checked in by anarcat, 13 months ago (diff)

please lintian

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1#!/bin/sh
2
3set -e
4
5# Benjamin Sonntag <benjamin@alternc.org>
6
7case "$1" in
8remove)
9    ;;
10
11upgrade)
12    ;;
13
14purge)
15    # Remove the config file from named.conf
16    cat /etc/bind/named.conf | grep -v "include \"/etc/bind/slavedns.conf\";" >/etc/bind/named.conf.purging
17    mv -f /etc/bind/named.conf.purging /etc/bind/named.conf
18    ;;
19
20failed-upgrade|abort-install|abort-upgrade|disappear)
21    ;;
22
23*)
24    echo "postrm called with unknown argument '$1'" >&2
25    exit 1
26    ;;
27esac
28
29#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.