1
1
mirror of https://github.com/angristan/wireguard-install.git synced 2024-05-31 18:50:47 +00:00

Fixed Fedora

This commit is contained in:
Jaminmc 2021-02-07 00:34:37 -05:00
parent cf54ef9006
commit f82887c33c

4
wireguard-install.sh Normal file → Executable file
View File

@ -156,8 +156,8 @@ function installWireGuard() {
apt-get install -y -t buster-backports wireguard
fi
elif [[ ${OS} == 'fedora' ]] && [[ $Container != 1 ]]; then
if [[ ${VERSION_ID} -lt 32 ]]; then
elif [[ ${OS} == 'fedora' ]]; then
if [[ ${VERSION_ID} -lt 32 ]] && [[ $Container != 1 ]]; then
dnf install -y dnf-plugins-core
dnf copr enable -y jdoss/wireguard
dnf install -y wireguard-dkms