choose-mirror: fix static codename release

This commit is contained in:
Luis Guzmán 2022-11-08 07:15:29 +00:00
parent e651194166
commit f41f9f3148
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@ diff -ru choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templa
Type: select Type: select
Choices-C: ${CHOICES-C} Choices-C: ${CHOICES-C}
Choices: ${CHOICES} Choices: ${CHOICES}
-Default: nabia -Default: _CODENAME_
-Description: Trisquel version to install: -Description: Trisquel version to install:
- In Trisquel, this question is never asked, and is only for preseeding. - In Trisquel, this question is never asked, and is only for preseeding.
- Caveat emptor. - Caveat emptor.

View file

@ -18,7 +18,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=4 VERSION=5
EXTERNAL='deb-src http://ftp.debian.org/debian stable main' EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
REPOKEY=648ACFD622F3D138 REPOKEY=648ACFD622F3D138
NETINST=true NETINST=true
@ -32,6 +32,7 @@ sed -i '/oldstable/d;
/unstable/d;' mirrors.h /unstable/d;' mirrors.h
sed -i "s|stable|$CODENAME|" mirrors.h sed -i "s|stable|$CODENAME|" mirrors.h
replace "_CODENAME_" "$CODENAME"
replace "deb.debian.org" "archive.trisquel.org" . replace "deb.debian.org" "archive.trisquel.org" .
replace "debian.org" "trisquel.org" . replace "debian.org" "trisquel.org" .
replace "Debian" "Trisquel" . replace "Debian" "Trisquel" .