Update INSTALL.sh

This commit is contained in:
Stefan Pejcic 2024-11-20 14:31:33 +01:00 committed by GitHub
parent 6fc93aa636
commit c231919cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@
# Usage: bash <(curl -sSL https://openpanel.org)
# Author: Stefan Pejcic <stefan@pejcic.rs>
# Created: 11.07.2023
# Last Modified: 19.11.2024
# Last Modified: 20.11.2024
#
################################################################################
@ -233,7 +233,7 @@ set_version_to_install(){
if [[ $PANEL_VERSION =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
PANEL_VERSION=$PANEL_VERSION
else
PANEL_VERSION="0.3.5"
PANEL_VERSION="0.3.6"
fi
fi
}
@ -1710,10 +1710,6 @@ install_openadmin(){
git clone -b $py_enchoded_for_distro --single-branch https://github.com/stefanpejcic/openadmin $OPENPADMIN_DIR
cd $OPENPADMIN_DIR
# 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!