From 621ef3d5bbe8c9efcc2e917fd61b9f52ddaa6fab Mon Sep 17 00:00:00 2001 From: Luis Guzman <ark@switnet.org> Date: Sun, 19 Dec 2021 22:44:59 -0600 Subject: [PATCH] Update use of TrisquelDistroInfo for nabia --- helpers/make-update-manager | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/helpers/make-update-manager b/helpers/make-update-manager index 71561717..d5524c74 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=12 +VERSION=13 . ./config @@ -69,6 +69,13 @@ sed '/len(changelog) == 0/,/"later."/d' -i UpdateManager/Core/MyCache.py [ -z "$(grep 'import apt_pkg' UpdateManager/UpdateManager.py)" ] && \ sed -i '/import distro_info/i import apt_pkg' UpdateManager/UpdateManager.py +#Make use of new TrisquelDistroInfo +sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' UpdateManager/UpdateManager.py +sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' hwe-support-status +sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' ubuntu-security-status +sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' tests/test_meta_release_core.py +sed -i 's|UbuntuDistroInfo|TrisquelDistroInfo|g' UpdateManager/Core/MetaRelease.py + changelog "Compiled for Trisquel" compile -- GitLab