Fix crash in ud-generate
[mirror/userdir-ldap.git] / debian / postinst
1 #! /bin/bash -e
2 #
3 #DEBHELPER#
4 if [ "$1" = "configure" ]
5 then
6     if ! [ -e /var/lib/misc/thishost ]; then
7         ln -s "`hostname -f`" /var/lib/misc/thishost
8     fi
9 fi
10 exit 0