mirror of
https://github.com/linuxserver/docker-wireguard
synced 2024-11-02 09:40:26 +00:00
fix typo
This commit is contained in:
parent
0b09cfec98
commit
8486171fd8
@ -20,7 +20,6 @@ elif (uname -r | grep -q 'v7+') || (uname -r | grep -q 'v7l+'); then
|
|||||||
wireguard
|
wireguard
|
||||||
elif uname -v | grep -q 'Ubuntu'; then
|
elif uname -v | grep -q 'Ubuntu'; then
|
||||||
echo "Attempting to install kernel headers from Ubuntu Xenial repo"
|
echo "Attempting to install kernel headers from Ubuntu Xenial repo"
|
||||||
curl -s http://archive.ubuntu.com/ubuntu/dists/xenial/Release.gpg | apt-key add -
|
|
||||||
echo -e \
|
echo -e \
|
||||||
"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" \
|
"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" \
|
||||||
> /etc/apt/sources.list.d/xenial.list
|
> /etc/apt/sources.list.d/xenial.list
|
||||||
@ -38,7 +37,7 @@ elif uname -v | grep -q 'Debian'; then
|
|||||||
echo "Debian host detected, attempting to install kernel headers from Debian Buster repo"
|
echo "Debian host detected, attempting to install kernel headers from Debian Buster repo"
|
||||||
curl -s https://ftp-master.debian.org/keys/archive-key-10.asc | apt-key add -
|
curl -s https://ftp-master.debian.org/keys/archive-key-10.asc | apt-key add -
|
||||||
echo -e \
|
echo -e \
|
||||||
"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" \
|
"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" \
|
||||||
> /etc/apt/sources.list.d/debian.list
|
> /etc/apt/sources.list.d/debian.list
|
||||||
apt-get update
|
apt-get update
|
||||||
if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then
|
if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user