Update comments

PowerTools repository is worked if use lower-case
This commit is contained in:
Teddysun 2020-12-30 15:43:15 +09:00
parent 9e8fadd745
commit 937e34b1e9
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -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"