Skip to content

Commit 4f4ece0

Browse files
authored
chore(ci): stop using apt-add-repository for debian10 (#1478)
We switched to using archive.debian.org in #1469, but apt-add-repository adds the old ones itself even when not specified. Use sed to add `contrib` and `non-free` instead.
1 parent 2dba93d commit 4f4ece0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/docker/debian10/install-packages.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ apt-get update
1212
apt-get -y upgrade
1313

1414
apt-get -y --no-install-recommends install \
15-
apt-file \
16-
software-properties-common
15+
apt-file
1716

18-
apt-add-repository contrib
19-
apt-add-repository non-free
17+
sed -i -e 's/ main/ main non-free contrib/' /etc/apt/sources.list
2018

2119
apt-get -y --no-install-recommends install \
2220
npm

0 commit comments

Comments
 (0)