Skip to content

Commit

Permalink
Add external sources
Browse files Browse the repository at this point in the history
  • Loading branch information
Dashboy1998 committed Feb 20, 2024
1 parent 83a86c9 commit 29b2dbb
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

- name: Shellcheck
uses: ludeeus/[email protected]
with:
config_file: .shellcheckrc

dockerlint:
name: Lint - Docker
Expand Down
1 change: 1 addition & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
external-sources=true
2 changes: 1 addition & 1 deletion scripts/auto_reboot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

if [ "${RCON_ENABLED,,}" != true ]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/backup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

DiscordMessage "Creating backup..." "in-progress"
Expand Down
2 changes: 1 addition & 1 deletion scripts/compile-settings.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

config_file="/palworld/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini"
Expand Down
2 changes: 1 addition & 1 deletion scripts/discord.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

# Defaults
Expand Down
2 changes: 1 addition & 1 deletion scripts/helper_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,5 @@ RCON() {
}

# Helper Functions for installation & updates
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_install.sh
source "/home/steam/server/helper_install.sh"
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

if [[ "$(id -u)" -eq 0 ]] && [[ "$(id -g)" -eq 0 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/restore.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

# Backup file directory path
Expand Down
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

dirExists "/palworld" || exit
Expand Down
2 changes: 1 addition & 1 deletion scripts/update.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# shellcheck source=/dev/null
# shellcheck source=scripts/helper_functions.sh
source "/home/steam/server/helper_functions.sh"

UpdateRequired
Expand Down

0 comments on commit 29b2dbb

Please sign in to comment.