mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
add unsupported RPM distro warnings
Signed-off-by: bcambl <blayne@blaynecampbell.com>
This commit is contained in:
parent
6f8e8e98bb
commit
c58e3acc78
1 changed files with 3 additions and 2 deletions
|
@ -307,13 +307,14 @@ elif command -v rpm &> /dev/null; then
|
|||
else
|
||||
# Warn user of unsupported version of Fedora or CentOS
|
||||
if ! whiptail --defaultno --title "Unsupported RPM based distribution" --yesno "Would you like to continue installation on an unsupported RPM based distribution?\\n\\nPlease ensure the following packages have been installed manually:\\n\\n- lighttpd\\n- lighttpd-fastcgi\\n- PHP version 7+" ${r} ${c}; then
|
||||
echo -e " ${CROSS} Aborting installation due to unsupported RPM based distribution"
|
||||
exit # exit the installer
|
||||
else
|
||||
: # continue with unsupported RPM distribution
|
||||
echo -e " ${INFO} Continuing installation with unsupported RPM based distribution"
|
||||
fi
|
||||
fi
|
||||
|
||||
# If neither apt-get or yum/dnf are found
|
||||
# If neither apt-get or yum/dnf package managers were found
|
||||
else
|
||||
# it's not an OS we can support,
|
||||
echo -e " ${CROSS} OS distribution not supported"
|
||||
|
|
Loading…
Reference in a new issue