unattended-upgrades: Fix unattended-upgrades 11.0
This commit is contained in:
parent
57692cf11e
commit
3b7c77c43e
2 changed files with 9 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2021 Luis Guzman <ark@switnet.org>
|
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# 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
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=2
|
VERSION=3
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info>
|
# Copyright (C) 2008-2022 Ruben Rodriguez <ruben@trisquel.info>
|
||||||
|
# Copyright (C) 2022 Luis Guzman <ark@switnet.org>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# 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
|
# 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
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION=2
|
VERSION=4
|
||||||
COMPONENT=main
|
COMPONENT=main
|
||||||
|
|
||||||
. ./config
|
. ./config
|
||||||
|
|
||||||
cp data/50unattended-upgrades.Ubuntu data/50unattended-upgrades.Trisquel
|
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
|
# Disable by default
|
||||||
sed '/Update-Package-Lists/s/1/0/' -i data/20auto-upgrades
|
sed '/Template: unattended-upgrades.enable_auto_updates/,/Default/s/Default: true/Default: false/' -i ./debian/templates
|
||||||
|
|
||||||
changelog "Compiled for Trisquel"
|
changelog "Compiled for Trisquel"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue