mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-18 21:18:28 +00:00
Fix map name extraction
Fixes: f6d402b (Add support for custom modded maps)
This commit is contained in:
parent
2e5aaf8c09
commit
2e8e3b6aaa
@ -452,7 +452,7 @@ doBackup(){
|
||||
# If both attempts fail, server may have
|
||||
# crashed between unlink and rename
|
||||
if [ ! -f "${backupdir}/${serverMap##*/}.ark" ]; then
|
||||
cp -p "${arkserverroot}/ShooterGame/Saved/SavedArks/${serverMap}.tmp" "${backupdir##*/}/${serverMap##*/}.ark"
|
||||
cp -p "${arkserverroot}/ShooterGame/Saved/SavedArks/${serverMap##*/}.tmp" "${backupdir##*/}/${serverMap##*/}.ark"
|
||||
fi
|
||||
if [ -f "${backupdir}/${serverMap##*/}.ark" ]; then
|
||||
echo -e "${NORMAL}[ ${GREEN}OK${NORMAL} ]"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user