Skip to content

Commit

Permalink
Merge pull request #166 from JasonBristol/patch-1
Browse files Browse the repository at this point in the history
Fix typos in webhook messages
  • Loading branch information
jammsen authored Feb 3, 2024
2 parents 0a833fc + a02825e commit 98c79e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function install_server() {
# force a fresh install of all
echo ">>> Doing a fresh install of the gameserver"
if [[ -n $WEBHOOK_ENABLED ]] && [[ $WEBHOOK_ENABLED == "true" ]]; then
send_webhook_notification "Installing server" "Server is beeing installed" "$WEBHOOK_INFO_COLOR"
send_webhook_notification "Installing server" "Server is being installed" "$WEBHOOK_INFO_COLOR"
fi
/home/steam/steamcmd/steamcmd.sh +force_install_dir "$GAME_PATH" +login anonymous +app_update 2394010 validate +quit
}
Expand All @@ -14,14 +14,14 @@ function update_server() {
if [[ -n $STEAMCMD_VALIDATE_FILES ]] && [[ $STEAMCMD_VALIDATE_FILES == "true" ]]; then
echo ">>> Doing an update and validate of the gameserver files"
if [[ -n $WEBHOOK_ENABLED ]] && [[ $WEBHOOK_ENABLED == "true" ]]; then
send_webhook_notification "Updating server" "Server is beeing updated and validated" "$WEBHOOK_INFO_COLOR"
send_webhook_notification "Updating server" "Server is being updated and validated" "$WEBHOOK_INFO_COLOR"
fi
/home/steam/steamcmd/steamcmd.sh +force_install_dir "$GAME_PATH" +login anonymous +app_update 2394010 validate +quit
else
echo ">>> Doing an update of the gameserver files"
if [[ -n $WEBHOOK_ENABLED ]] && [[ $WEBHOOK_ENABLED == "true" ]]; then
send_webhook_notification "Updating server" "Server is beeing updated" "$WEBHOOK_INFO_COLOR"
send_webhook_notification "Updating server" "Server is being updated" "$WEBHOOK_INFO_COLOR"
fi
/home/steam/steamcmd/steamcmd.sh +force_install_dir "$GAME_PATH" +login anonymous +app_update 2394010 +quit
fi
}
}

0 comments on commit 98c79e3

Please sign in to comment.