[UPD] OSX installation: remove python 3.7

This commit is contained in:
Mathieu Benoit 2026-02-12 23:42:59 -05:00
parent 268cbae712
commit 3a42960069

View file

@ -22,15 +22,14 @@ else
fi
echo "\n---- Creating the ERPLibre PostgreSQL User ----"
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
sudo su - postgres -c "CREATE EXTENSION postgis;\nCREATE EXTENSION postgis_topology;" 2> /dev/null || true
sudo su - postgres -c "createuser -s ${EL_USER}" 2>/dev/null || true
sudo su - postgres -c "CREATE EXTENSION postgis;\nCREATE EXTENSION postgis_topology;" 2>/dev/null || true
#--------------------------------------------------
# Install Dependencies
#--------------------------------------------------
echo "\n--- Installing Python 3 + pip3 --"
#TODO is python@3.7 line here still usefull?? Should we get rid of it?
brew install git python@3.7 wget parallel mariadb
brew install git wget parallel mariadb
brew link git
brew link wget
@ -46,7 +45,7 @@ sudo npm install -g rtlcss
sudo npm install -g less
npm install
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/openssl@1.1/bin:$PATH"' >>~/.zshrc
#--------------------------------------------------
# Install Wkhtmltopdf if needed
@ -55,5 +54,6 @@ echo "\n---- Installing Wkhtmltopdf if needed ----"
if [ ! -f "wkhtmltox-0.12.6-2.macos-cocoa.pkg" ]; then
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-2/wkhtmltox-0.12.6-2.macos-cocoa.pkg
sudo sudo installer -pkg wkhtmltox-0.12.6-2.macos-cocoa.pkg -target /
else echo "Wkhtmltopdf already installed"
else
echo "Wkhtmltopdf already installed"
fi