From c58e3acc78bcd4845fcd31ac780d019e623e8983 Mon Sep 17 00:00:00 2001 From: bcambl Date: Fri, 31 Aug 2018 10:04:52 -0600 Subject: [PATCH] add unsupported RPM distro warnings Signed-off-by: bcambl --- automated install/basic-install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 53a01b9d..b5221fc3 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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"