projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Restrict access to totpSeed
[mirror/userdir-ldap.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
e748473
..
31ead9f
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-3,6
+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
+ ln -s "`hostname -f`" /var/lib/misc/thishost
+ fi
fi
exit 0
fi
exit 0