From fb4acf472b4044745feba75154792875a06107ee Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Wed, 9 Aug 2023 11:53:52 -0600 Subject: [PATCH] Use Python3 Scripts for Newer Operating Systems --- ehcp/ehcpforceupdate.sh | 2 ++ ehcp/install_main.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ehcp/ehcpforceupdate.sh b/ehcp/ehcpforceupdate.sh index 8142b28..8b86070 100755 --- a/ehcp/ehcpforceupdate.sh +++ b/ehcp/ehcpforceupdate.sh @@ -3398,6 +3398,8 @@ function installPipManuallyIfNeeded(){ aptgetInstall "python3-mysqldb" aptgetInstall "python3-chardet" aptgetInstall "python3-requests" + + ln -s "/usr/bin/python3" "/usr/bin/python" else aptgetInstall "python-pip" diff --git a/ehcp/install_main.sh b/ehcp/install_main.sh index 0e295d1..7998625 100755 --- a/ehcp/install_main.sh +++ b/ehcp/install_main.sh @@ -3060,6 +3060,8 @@ function installPipManuallyIfNeeded(){ aptgetInstall "python3-mysqldb" aptgetInstall "python3-chardet" aptgetInstall "python3-requests" + + ln -s "/usr/bin/python3" "/usr/bin/python" else aptgetInstall "python-pip"