mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-24 23:38:28 +00:00
Add option to ignore installed mods
This commit is contained in:
parent
990d568151
commit
96aec9d715
@ -1992,7 +1992,9 @@ getModIds(){
|
|||||||
echo "${v#arkmod_}"
|
echo "${v#arkmod_}"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
find "${arkserverroot}/ShooterGame/Content/Mods" -maxdepth 1 -type d -printf "%P\n"
|
if [ -z "$ignoreInstalledMods" ]; then
|
||||||
|
find "${arkserverroot}/ShooterGame/Content/Mods" -maxdepth 1 -type d -printf "%P\n"
|
||||||
|
fi
|
||||||
) | sort | uniq | grep '^[1-9][0-9]*$' | grep -v '^111111111$'
|
) | sort | uniq | grep '^[1-9][0-9]*$' | grep -v '^111111111$'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user