Pass BatchMode=yes option to ssh
[mirror/userdir-ldap.git] / debian / postinst
index e748473..31ead9f 100644 (file)
@@ -3,6 +3,8 @@
 #DEBHELPER#
 if [ "$1" = "configure" ]
 then
-    test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate
+    if ! [ -e /var/lib/misc/thishost ]; then
+       ln -s "`hostname -f`" /var/lib/misc/thishost
+    fi
 fi
 exit 0