diff --git a/cyberpanel.sh b/cyberpanel.sh index b3d8613f7..d361b3171 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1122,17 +1122,17 @@ virtualenv -p /usr/bin/python3 /usr/local/CyberPanel Check_Return fi -if [[ "$Server_OS" = "Ubuntu" ]] && [[ "$Server_OS_Version" != "20" ]] ; then +if [ "$Server_OS" = "Ubuntu" ]; then # shellcheck disable=SC1091 - source /usr/local/CyberPanel/bin/activate + . /usr/local/CyberPanel/bin/activate else # shellcheck disable=SC1091 - . /usr/local/CyberPanel/bin/activate + 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