|
|
@@ -6,7 +6,7 @@
|
|
|
|
|
|
# As the server base dir changed for the game, we need to migrate the default config from the old to the new location
|
|
|
oldservercfg="${serverfiles}/Squad/ServerConfig/${servercfg}"
|
|
|
-if [ -f "${oldservercfg}" ] && [ -f "${servercfgfullpath}" ]; then
|
|
|
+if [ -f "${oldservercfg}" ]&&[ -f "${servercfgfullpath}" ]; then
|
|
|
# diff old and new config - if it is different move the old config over the new one
|
|
|
if [ "$(diff -c "${oldservercfg}" "${servercfgfullpath}" | wc -l)" -gt 0 ]; then
|
|
|
fixname="Migrate server config to new Game folder"
|