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
@@ -33,12 +33,5 @@ apt update
|
||||
|
||||
# Install pre-reqs
|
||||
echo "Installing build pre-requisites..."
|
||||
# Install correct Python packages for Ubuntu 18.
|
||||
OS_VERSION=$(grep "^VERSION_ID=" /etc/os-release | awk -F "=" '{ print $2 }' | sed 's/"//g' | awk -F "." '{ print $1 }')
|
||||
if [ "${OS_VERSION}" == "18" ]; then
|
||||
apt install -y build-essential python3.8-dev python3.8-venv libpq-dev libffi-dev nodejs yarn libkrb5-dev
|
||||
python3.8 -m pip install pip wheel sphinx sphinxcontrib-youtube
|
||||
else
|
||||
apt install -y build-essential python3-dev python3-venv python3-sphinx python3-wheel python3-pip libpq-dev libffi-dev nodejs yarn libkrb5-dev
|
||||
python3 -m pip install sphinxcontrib-youtube
|
||||
fi
|
||||
apt install -y build-essential python3-dev python3-venv python3-sphinx python3-wheel python3-pip libpq-dev libffi-dev nodejs yarn libkrb5-dev
|
||||
python3 -m pip install sphinxcontrib-youtube
|
||||
|
Reference in New Issue
Block a user