Merge pull request #1208 from stefanpejcic/patch-1

Check for existing OpenPanel instance on CyberPanel install
This commit is contained in:
Usman Nasir
2024-02-12 11:37:24 +05:00
committed by GitHub

View File

@@ -349,6 +349,10 @@ elif [[ -d /etc/httpd/conf/plesk.conf.d/ ]] || [[ -d /etc/apache2/plesk.conf.d/
echo -e "\nPlesk detected...\n"
Debug_Log2 "Plesk detected...exit... [404]"
exit
elif [[ -d /usr/local/panel/ ]]; then
echo -e "\nOpenPanel detected...\n"
Debug_Log2 "OpenPanel detected...exit... [404]"
exit
fi
}