forked from LiamAEdwards/SS14-Docker-Linux-Server
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 "$@"
|
|
|