Hi,

Please find a patch moving the #DEBHELPER# tag at the end of the
postinst script, after the 'nsd' user creation.

Regards,

-- 
Jonathan Dupart
diff -Nru nsd-4.1.0/debian/changelog nsd-4.1.0/debian/changelog
--- nsd-4.1.0/debian/changelog	2014-09-04 16:12:43.000000000 +0200
+++ nsd-4.1.0/debian/changelog	2014-11-14 12:46:42.000000000 +0100
@@ -1,3 +1,11 @@
+nsd (4.1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "invalid user: 'nsd'" move the debhelper tag at the end of the
+    postinst script (Closes: #743396)
+
+ -- Jonathan Dupart <jonat...@dupart.org>  Fri, 14 Nov 2014 12:39:58 +0100
+
 nsd (4.1.0-1) unstable; urgency=medium
 
   * New upstream version 4.1.0
diff -Nru nsd-4.1.0/debian/nsd.postinst nsd-4.1.0/debian/nsd.postinst
--- nsd-4.1.0/debian/nsd.postinst	2014-09-04 16:12:43.000000000 +0200
+++ nsd-4.1.0/debian/nsd.postinst	2014-11-14 12:37:35.000000000 +0100
@@ -1,8 +1,6 @@
 #!/bin/sh
 set -e
 
-#DEBHELPER#
-
 if test "$1" = "configure"; then
     # Move /etc/nsd3/nsd.conf to /etc/nsd/nsd.conf on first install of NSD 4
     OLDCONFFILE=/etc/nsd3/nsd.conf
@@ -48,4 +46,6 @@
     fi
 fi
 
+#DEBHELPER#
+
 exit 0

Reply via email to