# In case someone's running the script after unpacking the installer...
if [ "x$BASH_VERSION" = "x" ]; then
if [ ! -e "/var/cpanel/disable_cpanel_terminal_colors" ]; then
Installer Version $INSTALLER_VERSION r$REVISION
# Ensure Perl is available
if [ ! -e "/usr/bin/perl" -a -e "/usr/local/bin/perl" ]; then
echo "Linking /usr/local/bin/perl to /usr/bin/perl"
ln -s /usr/local/bin/perl /usr/bin/perl
# Ensure the fastest mirror plugin
# is setup right away so we do not stall when
# We used to support 512MB of ram which caused a problem with a high
# maxthreads (FB-51412), however this is no longer an issue
# https://documentation.cpanel.net/display/78Docs/Installation+Guide+-+System+Requirements
if [ -e /etc/debian_version ]; then
export DEBIAN_FRONTEND=noninteractive
if [ ! $IS_UBUNTU ]; then