From 937e34b1e9d5d7fc8ac500f6398d129c00e2f6fd Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 30 Dec 2020 15:43:15 +0900 Subject: [PATCH] Update comments PowerTools repository is worked if use lower-case --- wireguard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wireguard.sh b/wireguard.sh index cdb7c29..d7297a3 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -293,7 +293,7 @@ install_wg_pkgs() { _error_detect "yum -y install gcc" _error_detect "yum -y install make" _error_detect "yum -y install yum-utils" - [ -n "$(_os_ver)" -a "$(_os_ver)" -eq 8 ] && _error_detect "yum-config-manager --enable PowerTools" + [ -n "$(_os_ver)" -a "$(_os_ver)" -eq 8 ] && _error_detect "yum config-manager --set-enabled powertools" _error_detect "yum -y install libmnl-devel" _error_detect "yum -y install elfutils-libelf-devel" [ ! -d "/usr/src/kernels/$(uname -r)" ] && _error_detect "yum -y install kernel-headers" && _error_detect "yum -y install kernel-devel"