mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update INSTALL.sh
This commit is contained in:
parent
6fc93aa636
commit
c231919cd0
@ -11,7 +11,7 @@
|
|||||||
# Usage: bash <(curl -sSL https://openpanel.org)
|
# Usage: bash <(curl -sSL https://openpanel.org)
|
||||||
# Author: Stefan Pejcic <stefan@pejcic.rs>
|
# Author: Stefan Pejcic <stefan@pejcic.rs>
|
||||||
# Created: 11.07.2023
|
# 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
|
if [[ $PANEL_VERSION =~ [0-9]+\.[0-9]+\.[0-9]+ ]]; then
|
||||||
PANEL_VERSION=$PANEL_VERSION
|
PANEL_VERSION=$PANEL_VERSION
|
||||||
else
|
else
|
||||||
PANEL_VERSION="0.3.5"
|
PANEL_VERSION="0.3.6"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@ -1710,10 +1710,6 @@ install_openadmin(){
|
|||||||
|
|
||||||
git clone -b $py_enchoded_for_distro --single-branch https://github.com/stefanpejcic/openadmin $OPENPADMIN_DIR
|
git clone -b $py_enchoded_for_distro --single-branch https://github.com/stefanpejcic/openadmin $OPENPADMIN_DIR
|
||||||
cd $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
|
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!
|
# on debian12 yaml is also needed to read conf files!
|
||||||
|
Loading…
Reference in New Issue
Block a user