bug fix for almalinux
This commit is contained in:
parent
e7394ca692
commit
ba36d33c76
|
|
@ -9,6 +9,7 @@ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
|
|||
|
||||
import os
|
||||
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
|
||||
|
|
|
|||
|
|
@ -1859,6 +1859,9 @@ Retry_Command "pip install --default-timeout=3600 -r /usr/local/requirments.txt"
|
|||
|
||||
if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" = "22" ]] ; then
|
||||
cp /usr/bin/python3.10 /usr/local/CyberCP/bin/python3
|
||||
else
|
||||
rsync -av --ignore-existing /usr/lib64/python3.9/ /usr/local/CyberCP/lib64/python3.9/
|
||||
Check_Return
|
||||
fi
|
||||
|
||||
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib
|
||||
|
|
|
|||
Loading…
Reference in New Issue