From 1662824872bfacea50bc7aec5b1f447a5c72f502 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Mon, 17 Jan 2022 03:11:26 +0000
Subject: [PATCH] Replace gnome software 10.0

---
 helpers/make-packagekit            | 31 ++++++++++++++++++++++++++++++
 helpers/make-system-config-printer |  5 ++++-
 2 files changed, 35 insertions(+), 1 deletion(-)
 create mode 100644 helpers/make-packagekit

diff --git a/helpers/make-packagekit b/helpers/make-packagekit
new file mode 100644
index 00000000..35676e20
--- /dev/null
+++ b/helpers/make-packagekit
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+#    Copyright (C) 2022 Trisquel GNU/Linux developers
+#                       <trisquel-devel@listas.trisquel.info>
+#
+#    This program is free software; you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation; either version 2 of the License, or
+#    (at your option) any later version.
+#
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with this program; if not, write to the Free Software
+#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+#
+
+VERSION=1
+
+. ./config
+
+#Recommend trisquel-app-installer over gnome-software
+sed 's/gnome-software/trisquel-app-install | gnome-software/g' -i debian/control
+
+changelog "Recommend trisquel-app-install over gnome software."
+
+compile
+
diff --git a/helpers/make-system-config-printer b/helpers/make-system-config-printer
index d65b8204..95d54047 100644
--- a/helpers/make-system-config-printer
+++ b/helpers/make-system-config-printer
@@ -17,7 +17,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=1
+VERSION=2
 COMPONENT=main
 
 . ./config
@@ -25,6 +25,9 @@ COMPONENT=main
 sed 's/;GNOME;/;/' debian/patches/05_menu_entries.patch -i
 cp $DATA/testpage* debian/local/
 
+#Recommend trisquel-app-installer over gnome-software
+sed 's|gnome-software.*|trisquel-app-install,|g' -i debian/control
+
 changelog "Compiled for Trisquel"
 
 compile
-- 
GitLab