Changes to prevent the update system from automatically connect to the repos without the user's permission

This commit is contained in:
Ruben Rodriguez 2018-02-12 21:31:26 -05:00
parent eaed0737fe
commit 52cfb8eb29
5 changed files with 89 additions and 10 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2008-2010 Rubén Rodríguez <ruben@trisquel.info>
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info>
#
# 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,13 +17,16 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=1
VERSION=2
COMPONENT=main
. ./config
cp data/50unattended-upgrades.Ubuntu data/50unattended-upgrades.Trisquel
# Prevent automated connections
sed '/Update-Package-Lists/s/1/0/' -i data/20auto-upgrades
changelog "Compiled for Trisquel"
compile