mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update app.sh
This commit is contained in:
parent
4d4a73faaf
commit
1742f6ab72
|
|
@ -45,7 +45,15 @@ rm get-pip.*
|
|||
# Instalar paquetes en el entorno virtual
|
||||
apt-get install -y libssl-dev
|
||||
|
||||
python3 -m pip install pip setuptools
|
||||
if [ -f "/etc/os-release" ]; then
|
||||
source /etc/os-release
|
||||
|
||||
if [ "$VERSION_ID" == "12" ]; then
|
||||
/usr/bin/python3 -m pip install --break-system-packages setuptools
|
||||
else
|
||||
/usr/bin/python3 -m pip install --upgrade setuptools
|
||||
fi
|
||||
fi
|
||||
|
||||
# Desactivar el entorno virtual
|
||||
deactivate
|
||||
|
|
|
|||
Loading…
Reference in New Issue