export dns zones to the zonefile for roleaccounts
[mirror/userdir-ldap.git] / debian / postinst
1 #! /bin/bash -e
2 #
3 #DEBHELPER#
4 if [ "$1" = "configure" ]
5 then
6     test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate
7
8     if ! [ -e /var/lib/misc/thishost ]; then
9         ln -s "`hostname -f`" /var/lib/misc/thishost
10     fi
11 fi
12 exit 0