Browse Source

feat: change donate to sponsor (#4164)

Convert the word donate to sponsor to bring in line with GitHub Sponsors
pull/4178/head
Daniel Gibbs 2 years ago
committed by GitHub
parent
commit
0dfc51098f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      lgsm/functions/command_sponsor.sh
  2. 2
      lgsm/functions/core_functions.sh
  3. 6
      lgsm/functions/core_getopt.sh
  4. 14
      tests/tests_fctrserver.sh
  5. 14
      tests/tests_jc2server.sh
  6. 14
      tests/tests_mcserver.sh
  7. 14
      tests/tests_ts3server.sh

12
lgsm/functions/command_donate.sh → lgsm/functions/command_sponsor.sh

@ -1,12 +1,12 @@
#!/bin/bash
# LinuxGSM command_donate.sh module
# LinuxGSM command_sponsor.sh module
# Author: Daniel Gibbs
# Contributors: http://linuxgsm.com/contrib
# Website: https://linuxgsm.com
# Description: Shows ways to donate.
# Description: Shows ways to sponsor.
commandname="DONATE"
commandaction="Donate"
commandname="SPONSOR"
commandaction="Sponsor"
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_firstcommand_set
@ -15,10 +15,10 @@ echo -e "${lightyellow}Support LinuxGSM${default}"
echo -e "================================="
echo -e ""
echo -e "Been using LinuxGSM?"
echo -e "Consider donating to support development."
echo -e "Consider sponsoring to support development."
echo -e ""
echo -e "* ${lightblue}Patreon:${default} https://linuxgsm.com/patreon"
echo -e "* ${lightblue}GitHub:${default} https://github.com/sponsors/dgibbs64"
echo -e "* ${lightblue}Patreon:${default} https://linuxgsm.com/patreon"
echo -e "* ${lightblue}PayPal:${default} https://linuxgsm.com/paypal"
echo -e ""
echo -e "LinuxGSM est. 2012"

2
lgsm/functions/core_functions.sh

@ -86,7 +86,7 @@ command_details.sh() {
fn_fetch_function
}
command_donate.sh() {
command_sponsor.sh() {
functionfile="${FUNCNAME[0]}"
fn_fetch_function
}

6
lgsm/functions/core_getopt.sh

@ -22,7 +22,7 @@ cmd_update_linuxgsm=("ul;update-lgsm;uf;update-functions" "command_update_linuxg
cmd_test_alert=("ta;test-alert" "command_test_alert.sh" "Send a test alert.")
cmd_monitor=("m;monitor" "command_monitor.sh" "Check server status and restart if crashed.")
cmd_skeleton=("sk;skeleton" "command_skeleton.sh" "Create a skeleton directory.")
cmd_donate=("do;donate" "command_donate.sh" "Donation options.")
cmd_sponsor=("s;sponsor" "command_sponsor.sh" "Donation options.")
cmd_send=("sd;send" "command_send.sh" "Send command to game server console.")
# Console servers only.
cmd_console=("c;console" "command_console.sh" "Access server console.")
@ -148,8 +148,8 @@ if [ -f ".dev-debug" ]; then
currentopt+=("${cmd_dev_detect_deps[@]}" "${cmd_dev_detect_glibc[@]}" "${cmd_dev_detect_ldd[@]}" "${cmd_dev_query_raw[@]}" "${cmd_dev_clear_functions[@]}")
fi
## Donate.
currentopt+=("${cmd_donate[@]}")
## Sponsor.
currentopt+=("${cmd_sponsor[@]}")
### Build list of available commands.
optcommands=()

14
tests/tests_fctrserver.sh

@ -614,8 +614,8 @@ echo -e "8.3 - dev - detect deps"
echo -e "8.4 - dev - query-raw"
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.1 - donate"
echo -e "9.0 - Sponsor"
echo -e "9.1 - sponsor"
echo -e ""
echo -e "0.0 - Pre-test Tasks"
@ -1153,22 +1153,22 @@ grep functionfile= "${TRAVIS_BUILD_DIR}/dev-debug.log" | sed 's/functionfile=//g
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.0 - Sponsor"
echo -e "=================================================================="
echo -e ""
echo -e "9.1 - donate"
echo -e "9.1 - sponsor"
echo -e "================================="
echo -e "Description:"
echo -e "donate."
echo -e "Command: ./${gameservername} donate"
echo -e "sponsor."
echo -e "Command: ./${gameservername} sponsor"
requiredstatus="STARTED"
fn_setstatus
(
exec 5> "${TRAVIS_BUILD_DIR}/dev-debug.log"
BASH_XTRACEFD="5"
set -x
command_donate.sh
command_sponsor.sh
)
fn_test_result_pass
echo -e "run order"

14
tests/tests_jc2server.sh

@ -620,8 +620,8 @@ echo -e "8.2 - dev - detect ldd"
echo -e "8.3 - dev - detect deps"
echo -e "8.4 - dev - query-raw"
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.1 - donate"
echo -e "9.0 - Sponsor"
echo -e "9.1 - sponsor"
echo -e ""
echo -e "0.0 - Pre-test Tasks"
echo -e "=================================================================="
@ -1320,22 +1320,22 @@ echo -e "================="
grep functionfile= "${TRAVIS_BUILD_DIR}/dev-debug.log" | sed 's/functionfile=//g'
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.0 - Sponsor"
echo -e "=================================================================="
echo -e ""
echo -e "9.1 - donate"
echo -e "9.1 - sponsor"
echo -e "================================="
echo -e "Description:"
echo -e "donate."
echo -e "Command: ./${gameservername} donate"
echo -e "sponsor."
echo -e "Command: ./${gameservername} sponsor"
requiredstatus="STARTED"
fn_setstatus
(
exec 5> "${TRAVIS_BUILD_DIR}/dev-debug.log"
BASH_XTRACEFD="5"
set -x
command_donate.sh
command_sponsor.sh
)
fn_test_result_pass
echo -e "run order"

14
tests/tests_mcserver.sh

@ -613,8 +613,8 @@ echo -e "8.2 - dev - detect ldd"
echo -e "8.3 - dev - detect deps"
echo -e "8.4 - dev - query-raw"
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.1 - donate"
echo -e "9.0 - Sponsor"
echo -e "9.1 - sponsor"
echo -e ""
echo -e "0.0 - Pre-test Tasks"
@ -1198,22 +1198,22 @@ echo -e "================="
grep functionfile= "${TRAVIS_BUILD_DIR}/dev-debug.log" | sed 's/functionfile=//g'
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.0 - Sponsor"
echo -e "=================================================================="
echo -e ""
echo -e "9.1 - donate"
echo -e "9.1 - sponsor"
echo -e "================================="
echo -e "Description:"
echo -e "donate."
echo -e "Command: ./${gameservername} donate"
echo -e "sponsor."
echo -e "Command: ./${gameservername} sponsor"
requiredstatus="STARTED"
fn_setstatus
(
exec 5> "${TRAVIS_BUILD_DIR}/dev-debug.log"
BASH_XTRACEFD="5"
set -x
command_donate.sh
command_sponsor.sh
)
fn_test_result_pass
echo -e "run order"

14
tests/tests_ts3server.sh

@ -614,8 +614,8 @@ echo -e "8.2 - dev - detect ldd"
echo -e "8.3 - dev - detect deps"
echo -e "8.4 - dev - query-raw"
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.1 - donate"
echo -e "9.0 - Sponsor"
echo -e "9.1 - sponsor"
echo -e ""
echo -e "0.0 - Pre-test Tasks"
echo -e "=================================================================="
@ -1151,22 +1151,22 @@ echo -e "================="
grep functionfile= "${TRAVIS_BUILD_DIR}/dev-debug.log" | sed 's/functionfile=//g'
echo -e ""
echo -e "9.0 - Donate"
echo -e "9.0 - Sponsor"
echo -e "=================================================================="
echo -e ""
echo -e "9.1 - donate"
echo -e "9.1 - sponsor"
echo -e "================================="
echo -e "Description:"
echo -e "donate."
echo -e "Command: ./${gameservername} donate"
echo -e "sponsor."
echo -e "Command: ./${gameservername} sponsor"
requiredstatus="STARTED"
fn_setstatus
(
exec 5> "${TRAVIS_BUILD_DIR}/dev-debug.log"
BASH_XTRACEFD="5"
set -x
command_donate.sh
command_sponsor.sh
)
fn_test_result_pass
echo -e "run order"

Loading…
Cancel
Save