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,7 @@
|
|||
#!/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
|
||||
# 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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue