From 471c00c70b03f0085955bf227e4ea00e0a2c63f9 Mon Sep 17 00:00:00 2001
From: Ruben Rodriguez <ruben@trisquel.info>
Date: Wed, 16 Nov 2022 15:29:03 -0500
Subject: [PATCH] dpkg: overwrite Trisquel.pm from trisquel-base-data

---
 helpers/make-dpkg | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/helpers/make-dpkg b/helpers/make-dpkg
index dac730a7..e04ae0fc 100644
--- a/helpers/make-dpkg
+++ b/helpers/make-dpkg
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=3
+VERSION=4
 COMPONENT=main
 
 . ./config
@@ -38,6 +38,9 @@ sed '/Ubuntu.pm/a\\tDpkg/Vendor/Trisquel.pm \\' -i scripts/Makefile.in scripts/M
 sed '/Dpkg_BuildFlags_Ubuntu.t/a\\tt/Dpkg_BuildFlags_Trisquel.t \\' -i scripts/Makefile.in scripts/Makefile.am
 sed '/Dpkg_Changelog_Ubuntu.t/a\\tt/Dpkg_Changelog_Trisquel.t \\' -i scripts/Makefile.in scripts/Makefile.am
 
+# Trisquel.pm in now here, not at trisquel-base-data
+sed '/Package: libdpkg-perl/,/^$/s/Depends:/Replaces: trisquel-base-data\nDepends:/' -i debian/control
+
 changelog "Compiled for Trisquel"
 
 compile
-- 
GitLab