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