You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fix for Centos 7 support (this issue : #5 ) doesn't work for CloudLinux 7 due to the test in apm.sh failing for CloudLinux 7 , specifically this line :
The fix for Centos 7 support (this issue : #5 ) doesn't work for CloudLinux 7 due to the test in apm.sh failing for CloudLinux 7 , specifically this line :
if [$(rpm -q --qf "%{VERSION}" $ (rpm -q --whatprovides redhat-release)) -eq 7 ]
Output on Centos7 : 7
Output on CloudLinux7 : 7.7
One option to fix is to change the if to use [[ ]] and regex :
if [[$(rpm -q --qf "%{VERSION}" $ (rpm -q --whatprovides redhat-release)) =~ ^7 ]]
To cover Centos 7 and CloudLinux 7 (and minor versions going forwards).
The text was updated successfully, but these errors were encountered: