mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
Update automated install/basic-install.sh
Co-authored-by: yubiuser <ckoenig@posteo.de> Signed-off-by: Adam Warner <github@adamwarner.co.uk>
This commit is contained in:
parent
fc2a564cc0
commit
313c0ddf28
@ -376,7 +376,7 @@ package_manager_detect() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
check_epel_repo_required(){
|
check_epel_repo_required(){
|
||||||
# If the host OS is centos (or a derivative),
|
# If the host OS is centos (or a derivative), epel is required for lighttpd
|
||||||
if grep -qiE 'centos|scientific|alma|rocky' /etc/redhat-release; then
|
if grep -qiE 'centos|scientific|alma|rocky' /etc/redhat-release; then
|
||||||
# Check current CentOS major release version
|
# Check current CentOS major release version
|
||||||
CURRENT_CENTOS_VERSION=$(grep -oP '(?<= )[0-9]+(?=\.?)' /etc/redhat-release)
|
CURRENT_CENTOS_VERSION=$(grep -oP '(?<= )[0-9]+(?=\.?)' /etc/redhat-release)
|
||||||
|
Loading…
Reference in New Issue
Block a user