1
0
mirror of synced 2026-04-28 05:04:57 +00:00

Fix missing "|" in regex in Debian's 20-setup-apt

Closes: #997668
This commit is contained in:
Axel Beckert
2021-10-24 02:23:35 +02:00
parent 00527f64b2
commit 7ebb0f41a4
13 changed files with 19 additions and 12 deletions

View File

@@ -66,7 +66,7 @@ if ( test "${dist}" "!=" "sid" && test "${dist}" "!=" "unstable" && \
test -e /etc/apt/sources.list && \
grep ^deb.*security -r /etc/apt/sources.list /etc/apt/sources.list.d >/dev/null 2>/dev/null ) ; then
if echo "${dist}" | egrep -q '\b(sarge|etch|lenny|squeeze|wheezyjessie|stretch|buster)\b'; then
if echo "${dist}" | egrep -q '\b(sarge|etch|lenny|squeeze|wheezy|jessie|stretch|buster)\b'; then
cat <<E_O_APT >> ${prefix}/etc/apt/sources.list
#