~ubuntu-branches/ubuntu/oneiric/isc-dhcp/oneiric-security

« back to all changes in this revision

Viewing changes to debian/isc-dhcp-server-ldap.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Pollock
  • Date: 2009-09-02 22:34:25 UTC
  • Revision ID: james.westby@ubuntu.com-20090902223425-e060dofnj2yf8zzf
Tags: 4.1.0-1
* The "throw everything out and start over" release
* New upstream release
* debian/control: drop 3 from the binary package names, adjust dependencies,
  maintainer scripts, accordingly
* use debhelper more extensively, de-cruft debian/rules
* remove dhcp-server preinst
* add debug packages
* add transitional packages
* add debian/README.source
* debian/control: bumped Standards-Version
* debian/isc-dhcp-server.postinst: transfer existing config and lease files
  when upgrading from dhcp3-server
* debian/isc-dhcp-client.postinst: transfer existing config file when
  upgrading from dhcp3-client
* debian/changelog: added marker for legacy malformed changelog entry to
  placate Lintian
* add a patch to correct groff warnings in man pages
* add a patch to ignore checksums on the loopback interface
* debian/control: make isc-dhcp-client depend on ifupdown that invokes
  /sbin/dhclient correctly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e 
 
4
 
 
5
if [ "$1" = install -o "$1" = upgrade ]; then
 
6
        if dpkg-divert --list /usr/sbin/dhcpd3 \
 
7
                | grep -q "by dhcp3-server-ldap";
 
8
        then
 
9
                exit 0
 
10
        fi
 
11
                
 
12
        dpkg-divert --package dhcp3-server-ldap --add --rename \
 
13
                --divert /usr/sbin/dhcpd3-noldap /usr/sbin/dhcpd3
 
14
fi
 
15
 
 
16
#DEBHELPER#