Skip to content

Commit

Permalink
bug fix to alma9
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Aug 6, 2024
1 parent 982f721 commit 3f733e0
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 3f733e0

Please sign in to comment.