mirror of
https://github.com/YuzuZensai/palworld-server-docker.git
synced 2026-01-06 04:32:43 +00:00
Changed so grep sees if file exists
This commit is contained in:
@@ -46,7 +46,7 @@ cd /palworld || exit
|
||||
|
||||
printf "\e[0;32m*****CHECKING FOR EXISTING CONFIG*****\e[0m\n"
|
||||
|
||||
if [ ! -f /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini ] || [ -z $(grep '[^[:space:]]' /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini) ]; then
|
||||
if [ $(grep -qs '[^[:space:]]' /palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini) ]; then
|
||||
|
||||
printf "\e[0;32m*****GENERATING CONFIG*****\e[0m\n"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user