mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Correct the name of the python binary to use with mod_wsgi.
2) Remove logic for Ubuntu 18 as we remove the support for it.
This commit is contained in:
committed by
Akshay Joshi
parent
501bff6f7a
commit
c78904501d
@@ -24,13 +24,11 @@ _setup_env() {
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F "=" '{ print $2 }' | sed 's/"//g' | awk -F "." '{ print $1 }')
|
||||
SYSTEM_PYTHON_PATH='/usr/bin/python3'
|
||||
PYTHON_BINARY='python3'
|
||||
if [ "$2" == 'debian' ] && [ "${OS_VERSION}" == "18" ]; then
|
||||
SYSTEM_PYTHON_PATH='/usr/bin/python3.8'
|
||||
PYTHON_BINARY='python3.8'
|
||||
elif [ "$2" == 'redhat' ] && [ "${OS_VERSION}" == "8" ]; then
|
||||
if [ "$2" == 'redhat' ] && [ "${OS_VERSION}" == "8" ]; then
|
||||
SYSTEM_PYTHON_PATH='/usr/bin/python3.9'
|
||||
PYTHON_BINARY='python3.9'
|
||||
fi
|
||||
PYTHON_BINARY_WITHOUT_DOTS=$(echo ${PYTHON_BINARY} | sed -e 's/\.//g')
|
||||
}
|
||||
|
||||
_cleanup() {
|
||||
|
Reference in New Issue
Block a user