projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a little defensiveness
[mirror/userdir-ldap.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
b632e50
..
31ead9f
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-3,10
+3,8
@@
#DEBHELPER#
if [ "$1" = "configure" ]
then
#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
if ! [ -e /var/lib/misc/thishost ]; then
- ln -s "`hostname`" /var/lib/misc/thishost
+ ln -s "`hostname
-f
`" /var/lib/misc/thishost
fi
fi
exit 0
fi
fi
exit 0