Fix typo in non-installed mod check

Fixes: d37176a Warn when a mod is requested but not installed
This commit is contained in:
Ben Peddell 2016-01-29 21:37:46 +10:00
parent ac807bf74b
commit 58458a852d

View File

@ -204,7 +204,7 @@ checkConfig() {
fi
# Warn if any mods are requested but not installed
if [ -n "$arkserverroot" -a -a -d "${arkserverroot}/ShooterGame/Content/Mods" ]; then
if [ -n "$arkserverroot" -a -d "${arkserverroot}/ShooterGame/Content/Mods" ]; then
for modid in $(getModIds); do
if [ ! -f "${arkserverroot}/ShooterGame/Content/Mods/${modid}/mod.info" ]; then
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tMod ${modid} is requested but not installed. Run 'arkmanager installmod ${modid}' to install this mod."