This file is indexed.

postinst is in ldap2dns 0.3.1-3.1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#! /bin/sh
# postinst script for ldap2dns

set -e

case "$1" in
    configure)
	cd /usr/bin
    ln -f ldap2dns ldap2dnsd
	cd -
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
	exit 0
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac

umask 022

echo ""
echo "ldap2dns has been installed."
echo ""
echo "To set up services, please see the documentation at:"
echo "http://ldap2dns.tiscover.com/ or"
echo "/usr/share/doc/ldap2dns/README.txt.gz"
echo ""
echo "To Configure ldap2dns for use with djbdns:"
echo "Run ldap2tinydns-conf in your tinydns directory, something like:"
echo "root@host:/var/tinydns# ldap2tinydns-conf"
echo ""
echo "Then tell svscan about the new service:"
echo "ln -s /var/tinydns/ldap2tinydns /var/lib/svscan"
echo ""



exit 0