choose-mirror: fix static codename release
This commit is contained in:
parent
e651194166
commit
f41f9f3148
2 changed files with 3 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ diff -ru choose-mirror-2.78ubuntu7+10.0trisquel3/debian/choose-mirror-bin.templa
|
|||
Type: select
|
||||
Choices-C: ${CHOICES-C}
|
||||
Choices: ${CHOICES}
|
||||
-Default: nabia
|
||||
-Default: _CODENAME_
|
||||
-Description: Trisquel version to install:
|
||||
- In Trisquel, this question is never asked, and is only for preseeding.
|
||||
- Caveat emptor.
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# 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'
|
||||
REPOKEY=648ACFD622F3D138
|
||||
NETINST=true
|
||||
|
|
@ -32,6 +32,7 @@ sed -i '/oldstable/d;
|
|||
/unstable/d;' mirrors.h
|
||||
sed -i "s|stable|$CODENAME|" mirrors.h
|
||||
|
||||
replace "_CODENAME_" "$CODENAME"
|
||||
replace "deb.debian.org" "archive.trisquel.org" .
|
||||
replace "debian.org" "trisquel.org" .
|
||||
replace "Debian" "Trisquel" .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue