From c4acd33a39ef01f420b80603a6a478dc6e30d730 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Thu, 14 Nov 2024 11:56:49 +0500 Subject: [PATCH] bug fix: upgrade on ubuntu --- cyberpanel_upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh index b446d218a..c5fc84eff 100644 --- a/cyberpanel_upgrade.sh +++ b/cyberpanel_upgrade.sh @@ -833,7 +833,7 @@ chown -R cyberpanel:cyberpanel /usr/local/CyberCP/lib64 -if [[ "$Server_OS_Version" = "9" ]] || [[ "$Server_OS_Version" = "8" ]] || [[ "$Server_OS_Version" = "20" ]]; then +if [[ "$Server_OS_Version" = "9" ]] || [[ "$Server_OS_Version" = "18" ]] || [[ "$Server_OS_Version" = "8" ]] || [[ "$Server_OS_Version" = "20" ]]; then echo "PYTHONHOME=/usr" > /usr/local/lscp/conf/pythonenv.conf else # Uncomment and use the following lines if necessary for other OS versions