Skip to content

Commit

Permalink
fix(parse-details): change heading of output & add hint for creating …
Browse files Browse the repository at this point in the history
…new variables (GameServerManagers#4531)

* Added hint for new variables

* Fixed heading of output
  • Loading branch information
MicLieg authored Mar 23, 2024
1 parent a6b8143 commit 57ebe20
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lgsm/modules/command_dev_parse_game_details.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ done
# Sort and output the available distro details.
if [ -n "$available_details" ]; then
echo -e ""
echo -e "${bold}${lightgreen}Available Distro Details${default}"
echo -e "${bold}${lightgreen}Available Gameserver Details${default}"
fn_messages_separator
echo -e "${available_details}" | sort
fi

# Output the missing server details if there are any.
if [ -n "$missing_details" ]; then
echo -e ""
echo -e "${lightgreen}Missing or unsupported Server Details${default}"
echo -e "${lightgreen}Missing or unsupported Gameserver Details${default}"
fn_messages_separator
echo -e "${missing_details}" | sort
fi
Expand Down
1 change: 1 addition & 0 deletions lgsm/modules/info_distro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# Website: https://linuxgsm.com
# Description: Variables providing useful info on the Operating System such as disk and performace info.
# Used for command_details.sh, command_debug.sh and alert.sh.
# !Note: When adding variables to this script, ensure that they are also added to the command_dev_parse_distro_details.sh script.

moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"

Expand Down
1 change: 1 addition & 0 deletions lgsm/modules/info_game.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Gathers various game server information.
# !Note: When adding variables to this script, ensure that they are also added to the command_dev_parse_game_details.sh script.

# shellcheck disable=SC2317
moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
Expand Down

0 comments on commit 57ebe20

Please sign in to comment.