Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-11-16 10:12:50 +01:00 committed by GitHub
parent fcea7cb211
commit 66450230fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1619,7 +1619,11 @@ install_openadmin(){
git clone -b $py_enchoded_for_distro --single-branch https://github.com/stefanpejcic/openadmin $OPENPADMIN_DIR
cd $OPENPADMIN_DIR
pip install --default-timeout=3600 -r requirements.txt > /dev/null 2>&1 || pip install --default-timeout=3600 -r requirements.txt --break-system-packages > /dev/null 2>&1
# for 0.3.5 ONLY!
sed -i '/^gevent$/s/.*/gevent==24.11.1/' requirements.txt > /dev/null 2>&1
pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt > /dev/null 2>&1 || pip install --default-timeout=3600 --force-reinstall --ignore-installed -r requirements.txt --break-system-packages > /dev/null 2>&1
# on debian12 yaml is also needed to read conf files!
if [ -f /etc/os-release ] && grep -q "Debian" /etc/os-release; then