From f5c5d8fc8f981aa8d7f8065836f5b3d72109c7fc Mon Sep 17 00:00:00 2001
From: David Trudgian <dave@trudgian.net>
Date: Sun, 7 Jul 2019 10:44:53 -0500
Subject: [PATCH] Fix apache2 package-helper for etiona

This adds the md5sum for index.html into the check that is now done in the
debian apache2.postrm script.
---
 helpers/make-apache2 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/make-apache2 b/helpers/make-apache2
index ecd8801c..7a5f03cd 100644
--- a/helpers/make-apache2
+++ b/helpers/make-apache2
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=2
+VERSION=3
 
 . ./config
 
@@ -29,6 +29,9 @@ replace ubuntu-logo trisquel-logo .
 # Make the banner be Trisquel GNU/Linux instead of just Trisquel
 sed '/^LSB_RELEASE/s/$/_GNU\/Linux/'  -i debian/rules
 
+# Modify the postrm so it picks up the new index.html md5sum as valid
+sed '/grep -q "$MD5" <<- EOF/a \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 4dd1085714a2189c372be3e34b7d6c48' -i debian/apache2.postrm
+
 changelog "Compiled for Trisquel"
 
 compile
-- 
GitLab