tags 862334 + patch
thanks

Proposed NMU attached. Any thoughts? :)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
diff --git a/debian/changelog b/debian/changelog
index 1781835..53ba38e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+sane-backends (1.0.25-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "dh_installinit automatically add not running content". (Closes:
+    #862334)
+
+ -- Chris Lamb <la...@debian.org>  Sun, 21 May 2017 10:32:15 +0200
+
 sane-backends (1.0.25-4) unstable; urgency=medium
 
   * CVE-2017-6318:
diff --git a/debian/rules b/debian/rules
index fcd28d1..154c1b3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -128,7 +128,7 @@ endif
        chrpath -d debian/sane-utils/usr/bin/sane-find-scanner
 
 override_dh_installinit-arch:
-       dh_installinit -psane-utils --name=saned --error-handler=saned_eh
+       dh_installinit -psane-utils --name=saned
 
 override_dh_systemd_enable-arch:
        dh_systemd_enable --no-enable saned.socket
diff --git a/debian/sane-utils.postinst b/debian/sane-utils.postinst
index 155ed22..2d47e78 100644
--- a/debian/sane-utils.postinst
+++ b/debian/sane-utils.postinst
@@ -4,10 +4,6 @@ set -e
 
 SANED_DEFAULT=/etc/default/saned
 
-saned_eh () {
-    echo "saned couldn't start; check your inetd configuration and 
README.Debian"
-}
-
 #
 # POSIX-compliant shell function
 # to check for the existence of a command

Reply via email to