From 4bb6be0ab8ede1b340fb2d180c6c152d632c0d44 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Mon, 31 Aug 2020 21:35:10 +0900 Subject: [PATCH] Fixed issue #72 --- wireguard.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/wireguard.sh b/wireguard.sh index 09dfd91..8229283 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -299,11 +299,8 @@ install_wg_1() { _info "Install wireguard from repository" case "$(_os)" in ubuntu) - _error_detect "add-apt-repository ppa:wireguard/wireguard" _error_detect "apt-get update" - _error_detect "apt-get -y install linux-headers-$(uname -r)" - _error_detect "apt-get -y install wireguard-dkms" - _error_detect "apt-get -y install wireguard-tools" + _error_detect "apt-get -y install wireguard" ;; debian) echo "deb http://deb.debian.org/debian/ unstable main" > /etc/apt/sources.list.d/unstable.list