mirror of
https://github.com/LiamAEdwards/SS14-Docker-Linux-Server.git
synced 2026-02-14 20:49:34 +01:00
13 lines
210 B
Bash
13 lines
210 B
Bash
#!/bin/bash
|
|
|
|
# Check if directory is empty
|
|
if [ ! "$(ls -A /ss14)" ]; then
|
|
# Copy the default files
|
|
cp -R /ss14-default/* /ss14/
|
|
fi
|
|
|
|
# Start the original command
|
|
cd /ss14/publish/
|
|
./SS14.Watchdog "$@"
|
|
|