Fix check for old Eggs

`STEAMCMD_BETAID` is nullable and is null by default, causing a false-positive for this check. `PARAM_NOLOGS` is a much better Egg variable to check.
This commit is contained in:
Red-Thirten
2025-05-25 10:48:04 -07:00
parent 97c14bceab
commit fa89bbddc7

View File

@@ -197,7 +197,7 @@ sleep 1
cd ${HOME} || exit 1 cd ${HOME} || exit 1
# Check for old Eggs # Check for old Eggs
if [[ -z ${STEAMCMD_BETAID} ]]; then # STEAMCMD_BETAID was not in the previous version if [[ -z ${PARAM_NOLOGS} ]]; then # PARAM_NOLOGS was not in the previous version
echo -e "\n${RED}[STARTUP_ERR]: Please contact your administrator/host for support, and give them the following message:${NC}\n" echo -e "\n${RED}[STARTUP_ERR]: Please contact your administrator/host for support, and give them the following message:${NC}\n"
echo -e "\t${CYAN}Your Arma 3 Egg is outdated and no longer supported.${NC}" echo -e "\t${CYAN}Your Arma 3 Egg is outdated and no longer supported.${NC}"
echo -e "\t${CYAN}Please download the latest version at the following link, and install it in your panel:${NC}" echo -e "\t${CYAN}Please download the latest version at the following link, and install it in your panel:${NC}"