From f82887c33c5284d5b2a7db684b7882063b81982e Mon Sep 17 00:00:00 2001 From: Jaminmc Date: Sun, 7 Feb 2021 00:34:37 -0500 Subject: [PATCH] Fixed Fedora --- wireguard-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 wireguard-install.sh diff --git a/wireguard-install.sh b/wireguard-install.sh old mode 100644 new mode 100755 index 2d3fd91..ec69a40 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -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