Update cyberpanel.sh

This commit is contained in:
qtwrk
2021-06-12 01:01:54 +02:00
committed by GitHub
parent 31d4c4157b
commit 0bf4b9b4c6

View File

@@ -245,7 +245,7 @@ fi
# Reference: https://unix.stackexchange.com/questions/116539/how-to-detect-the-desktop-environment-in-a-bash-script
if [ -z "$XDG_CURRENT_DESKTOP" ]; then
echo "Desktop OS not detected. Proceeding"
echo -e "Desktop OS not detected. Proceeding\n"
else
echo "$XDG_CURRENT_DESKTOP defined appears to be a desktop OS. Bailing as CyberPanel is incompatible."
echo -e "\nCyberPanel is supported on server OS types only. Such as Ubuntu 18.04 x86_64, Ubuntu 20.04 x86_64, Ubuntu 20.10 x86_64, CentOS 7.x, CentOS 8.x, AlmaLinux 8.x and CloudLinux 7.x...\n"