From e581d45af02912676fc4a8f8445454d273802154 Mon Sep 17 00:00:00 2001
From: Andrew Ruthven <andrew@etc.gen.nz>
Date: Sat, 10 Apr 2021 15:06:54 +1200
Subject: [PATCH] Sure that init-system-helpers is available

---
 debian/changelog | 2 ++
 debian/control   | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 7b3d6c4..46cb37a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mythtv-status (1.0.1-5) unstable; urgency=medium
   * Upstream is now generating GPG signatures of release tarballs.
   * Allow the init script/service to fail on install/upgrade as there
     may not be a MythTV backend reachable at installation time.
+  * Add Pre-Depends: ${misc:Pre-Depends} to d/control to ensure that
+    init-system-helpers is available.
 
  -- Andrew Ruthven <andrew@etc.gen.nz>  Sat, 10 Apr 2021 15:00:41 +1200
 
diff --git a/debian/control b/debian/control
index 39e9bb8..24ae8b6 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Testsuite: autopkgtest-pkg-perl
 Package: mythtv-status
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends}, libwww-perl, libxml-libxml-perl, libdate-manip-perl, libmime-tools-perl, lsb-base (>= 3.0-6)
+Pre-Depends: ${misc:Pre-Depends}
 Suggests: molly-guard (>= 0.4), libconfig-auto-perl
 Recommends: libmythtv-perl, libnet-upnp-perl, libsys-sigaction-perl
 Description: Show the status of a MythTV backend
-- 
2.30.2