From 01bf0bd50b12a1a54a680086576a7b3db319c495 Mon Sep 17 00:00:00 2001 From: u Date: Thu, 14 May 2020 21:33:24 -0400 Subject: remove explicit references to stretch --- patchroot.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'patchroot.sh') diff --git a/patchroot.sh b/patchroot.sh index 54a37e2..8bd3269 100644 --- a/patchroot.sh +++ b/patchroot.sh @@ -1,9 +1,12 @@ #!/bin/sh echo samizdat > /etc/hostname + +. /etc/os-release + cat < /etc/apt/sources.list -deb http://httpredir.debian.org/debian stretch main #contrib non-free -deb http://security.debian.org stretch/updates main #contrib non-free -#deb http://httpredir.debian.org/debian stretch-backports main #contrib non-free +deb http://httpredir.debian.org/debian ${VERSION_CODENAME} main #contrib non-free +deb http://security.debian.org ${VERSION_CODENAME}/updates main #contrib non-free +#deb http://httpredir.debian.org/debian ${VERSION_CODENAME}-backports main #contrib non-free END #apt-get update -- cgit v1.2.3