aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislas <stanislas.lange@pm.me>2020-08-03 17:06:43 +0200
committerGitHub <noreply@github.com>2020-08-03 17:06:43 +0200
commit5a65e8866740be89e9c6773eebb5b2bb18a60332 (patch)
treeb772ae9ed761cc3d763dd5b05c442ed8ee727d23
parent70b44989e637faf1471ff007cba42bed06a44c0b (diff)
parentf14751805010cf75c24718f1d141ddab3621b0cc (diff)
Merge pull request #109 from angristan:ubuntu-no-ppa
Ubuntu: remove PPA, use native packages
-rw-r--r--README.md2
-rw-r--r--wireguard-install.sh3
2 files changed, 1 insertions, 4 deletions
diff --git a/README.md b/README.md
index dda6d9b..db67ebe 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ WireGuard does not fit your environment? Check out [openvpn-install](https://git
Supported distributions:
-- Ubuntu 16.04+
+- Ubuntu >= 16.04
- Debian 10
- Fedora
- CentOS
diff --git a/wireguard-install.sh b/wireguard-install.sh
index fda5711..b2e9a41 100644
--- a/wireguard-install.sh
+++ b/wireguard-install.sh
@@ -124,10 +124,7 @@ function installWireGuard() {
# Install WireGuard tools and module
if [[ ${OS} == 'ubuntu' ]]; then
- apt-get install -y software-properties-common
- add-apt-repository -y ppa:wireguard/wireguard
apt-get update
- apt-get install -y "linux-headers-$(uname -r)"
apt-get install -y wireguard iptables resolvconf qrencode
elif [[ ${OS} == 'debian' ]]; then
if ! grep -rqs "^deb .* buster-backports" /etc/apt/; then