diff options
author | u <u@svh> | 2020-05-14 21:33:24 -0400 |
---|---|---|
committer | u <u@svh> | 2020-05-14 21:33:24 -0400 |
commit | 01bf0bd50b12a1a54a680086576a7b3db319c495 (patch) | |
tree | e6b9fe9c9e447b2e56654e0325e3a89e8edda655 /patchroot.sh | |
parent | 784fd1095745267e3d1865bd9e51328597b0a40e (diff) |
remove explicit references to stretch
Diffstat (limited to 'patchroot.sh')
-rw-r--r-- | patchroot.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/patchroot.sh b/patchroot.sh index 54a37e2..8bd3269 100644 --- a/patchroot.sh +++ b/patchroot.sh | |||
@@ -1,9 +1,12 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | echo samizdat > /etc/hostname | 2 | echo samizdat > /etc/hostname |
3 | |||
4 | . /etc/os-release | ||
5 | |||
3 | cat <<END > /etc/apt/sources.list | 6 | cat <<END > /etc/apt/sources.list |
4 | deb http://httpredir.debian.org/debian stretch main #contrib non-free | 7 | deb http://httpredir.debian.org/debian ${VERSION_CODENAME} main #contrib non-free |
5 | deb http://security.debian.org stretch/updates main #contrib non-free | 8 | deb http://security.debian.org ${VERSION_CODENAME}/updates main #contrib non-free |
6 | #deb http://httpredir.debian.org/debian stretch-backports main #contrib non-free | 9 | #deb http://httpredir.debian.org/debian ${VERSION_CODENAME}-backports main #contrib non-free |
7 | END | 10 | END |
8 | 11 | ||
9 | #apt-get update | 12 | #apt-get update |