diff options
| author | Rafael Laboissière <rafael@laboissiere.net> | 2025-09-06 17:22:30 +0200 |
|---|---|---|
| committer | Rafael Laboissière <rafael@laboissiere.net> | 2025-09-06 17:22:30 +0200 |
| commit | 326ead0c757a476d429bff29300f3c7a3b734105 (patch) | |
| tree | 03232b122115f637ec9d403de589045464fccc16 /www | |
| parent | 299a70ecae834e7924247bd1b19476f714a0e7a4 (diff) | |
Centralize definition of distribution codename
Diffstat (limited to 'www')
| -rw-r--r-- | www/index.html.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/www/index.html.in b/www/index.html.in index 31decf9..8d1efeb 100644 --- a/www/index.html.in +++ b/www/index.html.in @@ -54,7 +54,7 @@ pre { doing speech analysis and synthesis <a href="https://packages.debian.org/source/sid/praat">is part</a> of Debian. This website provides an APT repository with the - Debian packages for Praat that works in the stable (a.k.a “bookworm”) + Debian packages for Praat that works in the stable (a.k.a “@DISTRIB@”) distribution, for recent upstream versions and for the amd64 and i386 architectures.</p> @@ -71,7 +71,7 @@ pre { <script> function get_version(arch) { - return fetch('dists/bookworm/main/binary-' + arch + '/Packages') + return fetch('dists/@DISTRIB@/main/binary-' + arch + '/Packages') .then(response => { return response.text(); }) @@ -94,7 +94,7 @@ pre { <p>For installing the package, run the following command:</p> <pre> - echo "deb http://@WWWHOST@/ bookworm main" | sudo tee /etc/apt/sources.list.d/praat.list + echo "deb http://@WWWHOST@/ @DISTRIB@ main" | sudo tee /etc/apt/sources.list.d/praat.list </pre> <p>This repository is signed. You should add the public GPG key to your @@ -108,7 +108,7 @@ pre { <pre> sudo apt update - sudo apt install praat/bookworm praat-doc/bookworm + sudo apt install praat/@DISTRIB@ praat-doc/@DISTRIB@ </pre> <hr> |
