Update install.zh.sh

This commit is contained in:
Steven 2024-03-14 18:24:17 +08:00 committed by GitHub
parent edcaf641ba
commit c268b36fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -69,14 +69,14 @@ elif [[ "${release}" == "rocky" ]]; then
echo -e "${red} 请使用 RockyLinux 9 或更高版本${plain}\n" && exit 1 echo -e "${red} 请使用 RockyLinux 9 或更高版本${plain}\n" && exit 1
fi fi
elif [[ "${release}" == "arch" ]]; then elif [[ "${release}" == "arch" ]]; then
echo "Your OS is ArchLinux" echo "操作系统为 ArchLinux"
elif [[ "${release}" == "manjaro" ]]; then elif [[ "${release}" == "manjaro" ]]; then
echo "Your OS is Manjaro" echo "操作系统为 Manjaro"
elif [[ "${release}" == "armbian" ]]; then elif [[ "${release}" == "armbian" ]]; then
echo "Your OS is Armbian" echo "操作系统为 Armbian"
else else
echo -e "${red}Failed to check the OS version, please contact the author!${plain}" && exit 1 echo -e "${red}检查操作系统版本失败,请联系作者!${plain}" && exit 1
fi fi
install_base() { install_base() {