bug fix to alma9
This commit is contained in:
parent
982f7213a1
commit
3f733e0a60
|
|
@ -1860,11 +1860,17 @@ 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
|
||||
:
|
||||
if [[ "$Server_OS_Version" = "9" ]]; then
|
||||
echo "PYTHONHOME=/usr" > /usr/local/lscp/conf/pythonenv.conf
|
||||
else
|
||||
# Uncomment and use the following lines if necessary for other OS versions
|
||||
# rsync -av --ignore-existing /usr/lib64/python3.9/ /usr/local/CyberCP/lib64/python3.9/
|
||||
# Check_Return
|
||||
:
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib
|
||||
chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib64 || true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue