[Da-tools-commits] ./da-tools/userdir-ldap-turmzimmer r395: Fix reset of /var/lib/misc/thishost

Andreas Barth aba at not.so.argh.org
Sat May 17 09:53:45 UTC 2008


------------------------------------------------------------
revno: 395
committer: Andreas Barth <aba at not.so.argh.org>
branch nick: userdir-ldap-turmzimmer
timestamp: Sat 2008-05-17 09:53:45 +0000
message:
  Fix reset of /var/lib/misc/thishost
modified:
  debian/changelog
  debian/postinst
-------------- next part --------------
=== modified file 'debian/changelog'
--- a/debian/changelog	2008-05-17 09:38:28 +0000
+++ b/debian/changelog	2008-05-17 09:53:45 +0000
@@ -1,3 +1,9 @@
+userdir-ldap (10:0.3.24+turmzimmer.3) stable; urgency=low
+
+  * Fix reset of /var/lib/misc/thishost.
+
+ -- Andreas Barth <aba at not.so.argh.org>  Sat, 17 May 2008 09:53:13 +0000
+
 userdir-ldap (10:0.3.24+turmzimmer.2) stable; urgency=low
 
   * Let the authorized_keys be copied to ~sshdist/.ssh/authorized_keys-auto

=== modified file 'debian/postinst'
--- a/debian/postinst	2008-05-16 18:08:07 +0000
+++ b/debian/postinst	2008-05-17 09:53:45 +0000
@@ -5,6 +5,7 @@
 then
     test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate
 
+    if [ -f /var/lib/misc/thishost ]; then rm /var/lib/misc/thishost; fi
     ln -fs "`hostname -f`" /var/lib/misc/thishost
 fi
 exit 0



More information about the Da-tools-commits mailing list