Changes to prevent the update system from automatically connect to the repos without the user's permission
This commit is contained in:
parent
eaed0737fe
commit
52cfb8eb29
5 changed files with 89 additions and 10 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Copyright (C) 2008-2014 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,22 +17,42 @@
|
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#
|
||||
|
||||
VERSION=7
|
||||
VERSION=8
|
||||
|
||||
. ./config
|
||||
|
||||
#Closes #12545
|
||||
patch -p0 < $DATA/trisquel-versions.patch
|
||||
|
||||
cp $DATA/index.docbook help/C/index.docbook
|
||||
|
||||
# Prevent automated connections
|
||||
patch -p1 < $DATA/prevent-autoconnection.patch
|
||||
cat << EOF >> po/es.po
|
||||
|
||||
msgid ""
|
||||
"To prevent unwanted connections to the Internet\n"
|
||||
"Trisquel will not automatically check for updates\n"
|
||||
"unless you say so in the Settings panel."
|
||||
msgstr ""
|
||||
"Para prevenir conexiones inesperadas a Internet\n"
|
||||
"Trisquel no descargará actualizaciones automáticamente\n"
|
||||
"salvo que lo indiques en el panel de Configuración."
|
||||
EOF
|
||||
|
||||
replace internet Internet .
|
||||
replace Ubuntu Trisquel .
|
||||
replace "Trisquel-Gettext" "Ubuntu-Gettext" .
|
||||
|
||||
replace ubuntu-desktop trisquel .
|
||||
replace kubuntu-desktop triskel .
|
||||
replace xubuntu-desktop trisquel-mini .
|
||||
replace edubuntu-desktop toast .
|
||||
|
||||
sed '/%s base/ s/name.*/name = "Trisquel base"/' -i ./UpdateManager/Core/UpdateList.py
|
||||
sed 's_http://changelogs.ubuntu.com/changelogs/pool/_http://packages.trisquel.info/changelogs/pool/_' -i UpdateManager/Core/MyCache.py
|
||||
sed '/len(changelog) == 0/,/"later."/d' -i UpdateManager/Core/MyCache.py
|
||||
|
||||
#Closes #12545
|
||||
patch -p0 < $DATA/trisquel-versions.patch
|
||||
|
||||
changelog "Compiled for Trisquel"
|
||||
|
||||
compile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue