Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions EasyApache/installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,8 @@ function install_ea4 {
# Main
#

#
# Check which version of cPanel we have
#
CPANEL_VERSION=`/usr/local/cpanel/cpanel -V | sed "s/\..*$//"`

# Version 58 and up have Easy Apache 4
if [ "$CPANEL_VERSION" -gt "57" ]; then
# Check if EasyApache 4 is enabled
if [ -e "/etc/cpanel/ea4/is_ea4" ]; then
install_ea4
else
install_ea3
Expand Down