Make docker image smaller
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
24c6904423
commit
f35d23674e
2 changed files with 16 additions and 5 deletions
6
start.sh
6
start.sh
|
|
@ -1,10 +1,10 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
SAVE_FILE="/root/.openttd/save/autosave/latest.sav"
|
||||
|
||||
if [ -f "$SAVE_FILE" ]; then
|
||||
echo "Loading savegame: $SAVE_FILE"
|
||||
exec /openttd/source/build/openttd -D -g autosave/latest.sav
|
||||
exec /openttd/openttd -D -g autosave/latest.sav
|
||||
else
|
||||
echo "No savegame found. Starting new game."
|
||||
exec /openttd/source/build/openttd -D
|
||||
exec /openttd/openttd -D
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue