Skip to content

Commit 30105a6

Browse files
committed
added filecheck
1 parent 328841d commit 30105a6

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

includes/server.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ function fresh_install_server() {
5050

5151
function update_server() {
5252
# Workaround fix for 0x6 error
53-
ei ">>> Applying workaround fix for 'Error! App '2394010' state is 0x6 after update job.' message, since update 0.3.X..."
54-
rm -f /palworld/steamapps/appmanifest_2394010.acf
53+
ei ">>> Checking if appmainfest_2394010.acf exists, which can cause the 'Error! App '2394010' state is 0x6 after update job"
54+
if [[ -f /palworld/steamapps/appmanifest_2394010.acf ]]; then
55+
ei ">>> Applying workaround fix for 'Error! App '2394010' state is 0x6 after update job.' message, since update 0.3.X..."
56+
rm -f /palworld/steamapps/appmanifest_2394010.acf
57+
fi
5558
if [[ -n $STEAMCMD_VALIDATE_FILES ]] && [[ "${STEAMCMD_VALIDATE_FILES,,}" == "true" ]]; then
5659
ei ">>> Doing an update with validation of the gameserver files..."
5760
if [[ -n $WEBHOOK_ENABLED ]] && [[ "${WEBHOOK_ENABLED,,}" == "true" ]]; then

0 commit comments

Comments
 (0)