Fix no build in jdoss/wireguard error in fedora 32

This commit is contained in:
IceCodeNew 2020-08-14 21:20:41 +08:00 committed by GitHub
parent b47964ff95
commit 7964299929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -314,7 +314,6 @@ install_wg_1() {
_error_detect "apt-get -y install wireguard-tools"
;;
fedora)
_error_detect "dnf -y copr enable jdoss/wireguard"
_error_detect "dnf -y install kernel-devel"
_error_detect "dnf -y install kernel-headers"
_error_detect "dnf -y install wireguard-dkms"
@ -381,7 +380,6 @@ install_wg_3() {
_error_detect "apt-get -y install --no-install-recommends wireguard-tools"
;;
fedora)
_error_detect "dnf -y copr enable jdoss/wireguard"
_error_detect "dnf -y install wireguard-tools"
;;
centos)