File tree Expand file tree Collapse file tree
config-default/config-lgsm/cs2server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ shopt -s nullglob
2222for gameiconpath in gameicons/* ; do
2323 gameicon=" $( basename " ${gameiconpath} " ) "
2424 # check if $gameicon is in serverlist.csv
25- if ! grep -q -F " ${gameicon% -icon.png} " serverlist.csv; then
25+ if ! grep -q -E " ^ ${gameicon% -icon.png} , " serverlist.csv; then
2626 echo " ERROR: gameicon ${gameicon} is not in serverlist.csv"
2727 exitcode=1
2828 else
Original file line number Diff line number Diff line change @@ -72,16 +72,6 @@ ntfypassword=""
7272ntfypriority =" "
7373ntfytags =" "
7474
75- # ntfy Alerts | https://docs.linuxgsm.com/alerts/ntfy
76- ntfyalert =" off"
77- ntfytopic =" LinuxGSM"
78- ntfyserver =" https://ntfy.sh"
79- ntfytoken =" "
80- ntfyusername =" "
81- ntfypassword =" "
82- ntfypriority =" "
83- ntfytags =" "
84-
8575# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
8676pushbulletalert =" off"
8777pushbullettoken =" accesstoken"
Original file line number Diff line number Diff line change 33# Author: Daniel Gibbs
44# Contributors: https://linuxgsm.com/contrib
55# Website: https://linuxgsm.com
6- # Description: Creates an copy of a game servers directories.
6+ # Description: Creates a copy of a game server directories.
77
88commandname=" SKELETON"
99commandaction=" Skeleton"
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ fn_dl_steamcmd() {
4646 validate=" validate"
4747 fi
4848
49- # steamcmdcommand can contain multiple arguments; treat it as an argv array.
50- steamcmdcommandarray=()
51- read -r -a steamcmdcommandarray <<< " ${steamcmdcommand}"
49+ # Wrap steamcmdcommand as a single-element array to avoid word-splitting
50+ # on paths/commands that should not be tokenised.
51+ steamcmdcommandarray=( " ${steamcmdcommand} " )
5252 unbuffercommand=()
5353 if [ -n " ${unbuffer} " ]; then
5454 unbuffercommand=(" ${unbuffer} " )
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # LinuxGSM fix_ts .sh module
2+ # LinuxGSM fix_st .sh module
33# Author: Daniel Gibbs
44# Contributors: https://linuxgsm.com/contrib
55# Website: https://linuxgsm.com
You can’t perform that action at this time.
0 commit comments