mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-14 03:38:27 +00:00
Warn when Mods directory is not writable
This commit is contained in:
parent
065dcff488
commit
292e5c9137
@ -356,6 +356,11 @@ checkConfig() {
|
||||
if [ ! -w "${savedarksdir}" ]; then
|
||||
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tThe ARK SavedArks directory is not writable, and saveworld will fail" >&2
|
||||
fi
|
||||
|
||||
mkdir -p "${arkserverroot}/${arkserverdir:-ShooterGame}/Content/Mods"
|
||||
if [ ! -w "${arkserverroot}/${arkserverdir:-ShooterGame}/Content/Mods" ]; then
|
||||
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tThe ARK Mods directory is not writable, and installmod will fail" >&2
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$1" != "installmod" ] && [ "$1" != "installmods" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user