File: postinst

package info (click to toggle)
ldap2dns 0.3.1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 492 kB
  • sloc: ansic: 1,525; php: 781; perl: 206; sh: 84; makefile: 50
file content (43 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (5)
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
43
#! /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 ""

#DEBHELPER#

exit 0