Skip to content

Commit 8486171

Browse files
committed
fix typo
1 parent 0b09cfe commit 8486171

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ elif (uname -r | grep -q 'v7+') || (uname -r | grep -q 'v7l+'); then
2020
wireguard
2121
elif uname -v | grep -q 'Ubuntu'; then
2222
echo "Attempting to install kernel headers from Ubuntu Xenial repo"
23-
curl -s http://archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg | apt-key add -
2423
echo -e \
2524
"deb http://archive.ubuntu.com/ubuntu/ xenial main restricted\ndeb-src http://archive.ubuntu.com/ubuntu/ xenial main restricted\n\ndeb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted\ndeb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted" \
2625
> /etc/apt/sources.list.d/xenial.list
@@ -38,7 +37,7 @@ elif uname -v | grep -q 'Debian'; then
3837
echo "Debian host detected, attempting to install kernel headers from Debian Buster repo"
3938
curl -s https://ftp-master.debian.org/keys/archive-key-10.asc | apt-key add -
4039
echo -e \
41-
"deb http://deb.debian.org/debian buster main contrib non-free\ndeb-src http://deb.debian.org/debian buster main contrib non-free\ndeb http://deb.debian.org/debian buster-backports main contrib non-free\ndeb-src deb http://deb.debian.org/debian buster-backports main contrib non-free" \
40+
"deb http://deb.debian.org/debian buster main contrib non-free\ndeb-src http://deb.debian.org/debian buster main contrib non-free\ndeb http://deb.debian.org/debian buster-backports main contrib non-free\ndeb-src http://deb.debian.org/debian buster-backports main contrib non-free" \
4241
> /etc/apt/sources.list.d/debian.list
4342
apt-get update
4443
if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then

0 commit comments

Comments
 (0)