possible bug fix in cloudlinux
This commit is contained in:
parent
92d54ea4bb
commit
c19762e0e0
|
|
@ -1122,17 +1122,17 @@ virtualenv -p /usr/bin/python3 /usr/local/CyberPanel
|
|||
Check_Return
|
||||
fi
|
||||
|
||||
if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" != "20" ]] ; then
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/local/CyberPanel/bin/activate
|
||||
else
|
||||
if [ "$Server_OS" = "Ubuntu" ]; then
|
||||
# shellcheck disable=SC1091
|
||||
. /usr/local/CyberPanel/bin/activate
|
||||
else
|
||||
# shellcheck disable=SC1091
|
||||
source /usr/local/CyberPanel/bin/activate
|
||||
fi
|
||||
|
||||
Debug_Log2 "Installing requirments..,3"
|
||||
|
||||
Retry_Command "/usr/local/CyberCP/bin/pip3 install --default-timeout=3600 -r /usr/local/requirments.txt"
|
||||
Retry_Command "pip install --default-timeout=3600 -r /usr/local/requirments.txt"
|
||||
Check_Return "requirments" "no_exit"
|
||||
|
||||
if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" = "22" ]] ; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue