mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-16 04:22:05 +01:00
bug fix for almalinux
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user