Skip to content

Commit 16dcc76

Browse files
committed
codacy
1 parent 29d04fd commit 16dcc76

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

lgsm/functions/fix_lo.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
88

9-
local APPID_FILE=${executabledir}/steam_appid.txt
10-
if [ ! -f "${APPID_FILE}" ]; then
11-
fn_print_information "adding ${APPID_FILE} to ${gamename} server."
9+
appidfile=${executabledir}/steam_appid.txt
10+
if [ ! -f "${appidfile}" ]; then
11+
fn_print_information "adding ${appidfile} to ${gamename} server."
1212
fn_sleep_time
13-
echo "903950" > "${APPID_FILE}"
13+
echo "903950" > "${appidfile}"
1414
else
15-
fn_print_information "${APPID_FILE} already exists. No action to be taken."
15+
fn_print_information "${appidfile} already exists. No action to be taken."
1616
fn_sleep_time
1717
fi

lgsm/functions/update_papermc.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# Website: https://linuxgsm.com
66
# Description: Handles updating of PaperMC and Waterfall servers.
77

8-
local commandname="UPDATE"
9-
local commandaction="Update"
10-
local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
8+
commandname="UPDATE"
9+
commandaction="Update"
10+
function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
1111

1212
fn_update_papermc_dl() {
1313
# get build info

0 commit comments

Comments
 (0)