Added client setup check to start_server.sh

This commit is contained in:
Jack Kawell
2021-12-09 00:20:10 -07:00
parent 18d797150e
commit ecd717702d
2 changed files with 12 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ update_ini_values
if [[ ! -d "/client" ]]; then
echo "Client not found."
echo "Did you forgot to mount the client into the \"/client\" directory?"
echo "Did you forget to mount the client into the \"/client\" directory?"
exit 1
fi
@@ -66,8 +66,8 @@ if [[ ! -f "/client/extracted" ]]; then
touch /client/extracted
else
echo "Client already extracted. Skip this step"
echo "If you want to force re-extract, just delete the file called \"extracted\" in the client directory"
echo "Client already extracted. Skip this step..."
echo "If you want to force a re-extract, just delete the file called \"extracted\" in the client directory"
fi
if [[ ! -f "/client/migrated" ]]; then
@@ -77,6 +77,6 @@ if [[ ! -f "/client/migrated" ]]; then
touch /client/migrated
else
echo "Client db already migrated. Skip this step"
echo "If you want to force re-migrate, just delete the file called \"migrated\" in the client directory"
echo "Client db already migrated. Skip this step..."
echo "If you want to force a re-migrate, just delete the file called \"migrated\" in the client directory"
fi