From cd23d0db05b922c6f8f2f904285854f545557742 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 27 May 2017 12:25:48 +0100 Subject: [PATCH] Changed message if servefiles already exists --- linuxgsm.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index 1c0eb3664..1c76c2e11 100644 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -243,7 +243,12 @@ fn_install_file(){ sed -i -e "s/shortname=\"core\"/shortname=\"${shortname}\"/g" "${local_filename}" sed -i -e "s/servername=\"core\"/servername=\"${servername}\"/g" "${local_filename}" echo "Installed ${gamename} server as ${local_filename}" - echo "./${local_filename} install" + echo "" + if [ ! -d "${serverfiles}" ]; then + echo "./${local_filename} install" + else + echo "Remember to check server ports" + echo "./${local_filename} details" exit }