File tree 1 file changed +2
-10
lines changed
1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ This version of Ubuntu is too old and unsupported."
77
77
exiterr " Debian 11 or higher is required to use this installer.
78
78
This version of Debian is too old and unsupported."
79
79
fi
80
- if [[ " $os " == " centos" && " $os_version " -lt 7 ]]; then
81
- exiterr " CentOS 7 or higher is required to use this installer.
80
+ if [[ " $os " == " centos" && " $os_version " -lt 8 ]]; then
81
+ exiterr " CentOS 8 or higher is required to use this installer.
82
82
This version of CentOS is too old and unsupported."
83
83
fi
84
84
}
@@ -650,14 +650,6 @@ install_pkgs() {
650
650
yum -y -q install wireguard-tools qrencode $firewall > /dev/null 2>&1
651
651
) || exiterr3
652
652
mkdir -p /etc/wireguard/
653
- elif [[ " $os " == " centos" && " $os_version " -eq 7 ]]; then
654
- (
655
- set -x
656
- yum -y -q install epel-release https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm > /dev/null
657
- yum -y -q install yum-plugin-elrepo > /dev/null 2>&1
658
- yum -y -q install kmod-wireguard wireguard-tools qrencode $firewall > /dev/null 2>&1
659
- ) || exiterr3
660
- mkdir -p /etc/wireguard/
661
653
elif [[ " $os " == " fedora" ]]; then
662
654
(
663
655
set -x
You can’t perform that action at this time.
0 commit comments