mirror of
https://github.com/teddysun/across.git
synced 2025-10-08 13:55:34 +08:00
Fixed issue #72
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user