chiark / gitweb /
Add debhelper token to postinst scripts.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Dec 2013 16:41:04 +0000 (16:41 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 9 Dec 2013 16:41:04 +0000 (16:41 +0000)
debian/changelog
debian/userv-dyndns.postinst
debian/userv-git-daemon.postinst

index 633cf2672fc73ae62c99d6a3bbd18664c4b7a7db..063132f0bdd0e9e720c0e81200530274a08acc11 100644 (file)
@@ -5,6 +5,7 @@ userv-utils (0.6.0~~iwj3) unstable; urgency=low
   * Add dependency on debhelper.
   * No longer mention SLIP and udptunnel in the userv-ipif Description.
   * Americanise spelling of /usr/share/common-licences to ...-licenses.
+  * Add debhelper token to postinst scripts.
 
  --
 
index 95988c7eaca571acfa91ab007932cc055f62e85f..da9acd7b1a36a04abf5d902a32bef8bd42746291 100755 (executable)
@@ -20,6 +20,8 @@
 #!/bin/sh
 set -e
 
+#DEBHELPER#
+
 user="$(sed -n '/^[a-z]/{p;q;}' /etc/userv/dyndns-service-users)"
 if id $user >/dev/null 2>&1; then exit 0; fi
 
index be6c934ea3e748b5fa0b0a15373dc2186e6f508f..1d4f740baa2b767493587c1d54bb96d59fc49f58 100755 (executable)
@@ -27,6 +27,8 @@ GITDUSER=git
 defaults=/etc/default/userv-git-daemon
 if test -f $defaults; then . $defaults; fi
 
+#DEBHELPER#
+
 if [ "$GITDUSER" ]; then
        if id $GITDUSER >/dev/null 2>&1; then exit 0; fi