default to python3 on centos8

This commit is contained in:
qtwrk
2019-12-20 15:29:18 +01:00
parent aed3d1012a
commit 4136f8e686
2 changed files with 4 additions and 3 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -393,7 +393,7 @@ if [[ $SERVER_OS == "CentOS" ]] ; then
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc python-devel libattr-devel xz-devel gpgme-devel mariadb-devel curl-devel python-pip git
fi
if [[ $CENTOS_8 == "True" ]] ; then
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar
yum install -y wget strace htop net-tools telnet curl which bc telnet htop libevent-devel gcc libattr-devel xz-devel mariadb-devel curl-devel git platform-python-devel tar python36
dnf --enablerepo=PowerTools install gpgme-devel -y
fi
@@ -799,7 +799,8 @@ COMMENT
#if [[ $DEV_ARG == "ON" ]] ; then
echo -e "Press \e[31mEnter\e[39m to continue with stable version of CyberPanel, or"
echo -e "\nPlease enter \e[31mbeta\e[39m and then press \e[31mEnter\e[39m to install CyberPanel with Python 3 (which also supports Centos 8)."
echo -e "\nPlease enter \e[31mbeta\e[39m and then press \e[31mEnter\e[39m to install CyberPanel with Python 3."
echo -e "\nCentOS 8 will autoamtically proceed with Python 3 branch."
printf "%s" ""
read TMP_YN
@@ -1363,4 +1364,4 @@ pip_virtualenv
system_tweak
main_install
main_install