mirror of
https://github.com/LiamAEdwards/SS14-Docker-Linux-Server.git
synced 2026-02-15 03:50:56 +01:00
12 lines
199 B
Bash
12 lines
199 B
Bash
#!/bin/sh
|
|
|
|
# Check if directory is empty
|
|
if [ ! "$(ls -A /ss14)" ]; then
|
|
# Copy the default files
|
|
cp -R /ss14-default/* /ss14/
|
|
fi
|
|
|
|
# Start the original command
|
|
exec /ss14/Robust.Server "$@"
|
|
|