installer: Remove code specific to stretch or xenial.

Support for Xenial and Stretch was removed (5154ddafca, 0f4b1076ad,
8944e0ad53, 79acd5ae40, 1219a2e854), but not all codepaths were
updated to remove their conditionals on it.

Remove all code predicated on Xenial or Stretch.  debathena support
was migrated to Bionic, since that appears to be the current state of
existing debathena servers.
This commit is contained in:
Alex Vandiver
2020-06-24 00:30:27 +00:00
committed by Tim Abbott
parent e4899eae8b
commit 876ee4a8ed
8 changed files with 4 additions and 34 deletions

View File

@@ -32,7 +32,7 @@ apt-get install -y lsb-release apt-transport-https gnupg
SCRIPTS_PATH="$(dirname "$(dirname "$0")")"
release=$(lsb_release -sc)
if [ "$release" = "xenial" ]; then
if [ "$release" = "bionic" ]; then
apt-key add "$SCRIPTS_PATH"/setup/debathena-archive.asc
cat >$SOURCES_FILE <<EOF
deb http://debathena.mit.edu/apt $release debathena debathena-config