mirror of
https://github.com/angristan/wireguard-install.git
synced 2025-04-05 03:43:30 +03:00
Fixed Fedora
This commit is contained in:
parent
cf54ef9006
commit
f82887c33c
1 changed files with 2 additions and 2 deletions
4
wireguard-install.sh
Normal file → Executable file
4
wireguard-install.sh
Normal file → Executable 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
|
||||
|
|
Loading…
Add table
Reference in a new issue