From b926f85acdcd5588a7bdfb6df9bf6b9831a09a23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org>
Date: Mon, 7 Feb 2022 02:59:50 +0000
Subject: [PATCH] Fix meta release file 10.0

---
 helpers/make-ubuntu-release-upgrader | 13 ++++++++++++-
 helpers/make-update-manager          |  5 ++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/helpers/make-ubuntu-release-upgrader b/helpers/make-ubuntu-release-upgrader
index 0b5254bf..a25ca695 100644
--- a/helpers/make-ubuntu-release-upgrader
+++ b/helpers/make-ubuntu-release-upgrader
@@ -24,7 +24,7 @@
 # Also, don't forget to update the meta-release files at archive and packages.t.i
 # The "obsoletes" list from ubuntu has been removed
 
-VERSION=12
+VERSION=13
 
 . ./config
 
@@ -329,6 +329,17 @@ done
 
 sed 's/ubuntu-release-upgrader-core/ubuntu-release-upgrader-core (= ${source:Version})/' -i debian/control
 
+# Fix meta-release file
+cat << MR-FILE > data/meta-release
+# default location for the meta-release file
+
+[METARELEASE]
+URI = https://archive.trisquel.org/trisquel/meta-release
+URI_LTS = https://archive.trisquel.org/trisquel/meta-release
+URI_UNSTABLE_POSTFIX = -development
+URI_PROPOSED_POSTFIX = -proposed
+MR-FILE
+
 changelog "Compiled for Trisquel"
 
 PARALLEL=false compile
diff --git a/helpers/make-update-manager b/helpers/make-update-manager
index c9dea475..c513a671 100644
--- a/helpers/make-update-manager
+++ b/helpers/make-update-manager
@@ -18,7 +18,7 @@
 #    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 #
 
-VERSION=14
+VERSION=15
 
 . ./config
 
@@ -78,6 +78,9 @@ sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' UpdateManager/Core/MetaRelease.
 #Fix partial upgrade button
 sed -i '/do-partial-upgrade/s|ubuntu-release|trisquel-release|' UpdateManager/Dialogs.py
 
+#Fix base_uri for trisquel meta-release-lts
+sed -i 's|changelogs.ubuntu.com/|archive.trisquel.org/trisquel/|' UpdateManager/Core/MetaRelease.py
+
 changelog "Compiled for Trisquel"
 
 compile
-- 
GitLab