From 3b7c77c43e217fdaf91947b2a3fa0108c571f3a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= Date: Wed, 15 Jun 2022 19:08:15 +0000 Subject: [PATCH] unattended-upgrades: Fix unattended-upgrades 11.0 --- helpers/make-distro-info-data | 4 ++-- helpers/make-unattended-upgrades | 11 +++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/helpers/make-distro-info-data b/helpers/make-distro-info-data index 50bce5e..6a73280 100644 --- a/helpers/make-distro-info-data +++ b/helpers/make-distro-info-data @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2021 Luis Guzman +# Copyright (C) 2022 Luis Guzman # # 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 @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=2 +VERSION=3 . ./config diff --git a/helpers/make-unattended-upgrades b/helpers/make-unattended-upgrades index 4bb8c28..7b5d267 100644 --- a/helpers/make-unattended-upgrades +++ b/helpers/make-unattended-upgrades @@ -1,6 +1,7 @@ #!/bin/sh # -# Copyright (C) 2008-2018 Ruben Rodriguez +# Copyright (C) 2008-2022 Ruben Rodriguez +# Copyright (C) 2022 Luis Guzman # # 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 @@ -17,15 +18,17 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=2 +VERSION=4 COMPONENT=main . ./config cp data/50unattended-upgrades.Ubuntu data/50unattended-upgrades.Trisquel +sed -i '/ESM/d' data/50unattended-upgrades.Trisquel +echo "82db2ae24442f1e1684243a71a78e7de" >> data/50unattended-upgrades.md5sum -# Prevent automated connections -sed '/Update-Package-Lists/s/1/0/' -i data/20auto-upgrades +# Disable by default +sed '/Template: unattended-upgrades.enable_auto_updates/,/Default/s/Default: true/Default: false/' -i ./debian/templates changelog "Compiled for Trisquel"