Skip to content

Commit

Permalink
Read docs/CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Krätzig committed Apr 30, 2020
1 parent 77c36f7 commit ed60710
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
25 changes: 20 additions & 5 deletions TS3UpdateScript
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ exec 5<&0
# Donations: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7ZRXLSC2UBVWE
#

SCRIPT_VERSION="5.8.0"
LAST_EDIT_DATE="2020-04-20"
SCRIPT_VERSION="5.8.1"
LAST_EDIT_DATE="2020-04-30"

# DO NOT REMOVE OR CHANGE
SOFTWARE_ABOUT="This is the most widely used and fastest shell script to update all your TeamSpeak 3 server instances."
Expand Down Expand Up @@ -87,7 +87,7 @@ function clearTerminalScreen() {
# Return: 0:boolean or 1:boolean
function checkConsistency() {
CHKSUM=$(grep -v "ORIGIN=" "$0" | sha256sum | cut -d " " -f 1)
ORIGIN="59e85b0ee11a8f4209aa16abd6f7ae306f7911d2942428e3a7e863350c8a846d"
ORIGIN="b7705dc90fbed0524aa4550c5b633eda46c21959af6642bb749cfa4bf4a9050f"

if [[ "$CHKSUM" == "$ORIGIN" ]]; then
return 0;
Expand Down Expand Up @@ -2268,8 +2268,23 @@ function main() {

# Able to reach all needed remote server?
if [[ "$PAR_DEACTIVATE_HOST_ALIVE_CHECK" -eq 0 ]]; then
if ! testInternetConnectivity "www.ts3-tools.info" || ! testInternetConnectivity "dl.4players.de" || ! testInternetConnectivity "github.com" || ! testInternetConnectivity "raw.githubusercontent.com"; then
echo "${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
if ! testInternetConnectivity "www.ts3-tools.info"; then
echo "www.ts3-tools.info ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
SELF_TEST_STATUS=1;
fi

if ! testInternetConnectivity "files.teamspeak-services.com"; then
echo "files.teamspeak-services.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
SELF_TEST_STATUS=1;
fi

if ! testInternetConnectivity "github.com"; then
echo "github.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
SELF_TEST_STATUS=1;
fi

if ! testInternetConnectivity "raw.githubusercontent.com"; then
echo "raw.githubusercontent.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
SELF_TEST_STATUS=1;
fi
fi
Expand Down
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ Hotfix | Important fix for one more issues, which causes a not (correct) working

## Releases

### Version 5.8.1 (2020-04-30)

* Improved and updated messages for self-tests to see which site is not reachable
* Replaced self-test of internet connectivity for dl.4players.de with files.teamspeak-services.com

### Version 5.8.0 (2020-04-20)

* Added information regarding `.ts3updatescript.lock` file (GitHub issue [#107](https://github.com/TS3Tools/TS3UpdateScript/issues/107))
Expand Down
2 changes: 1 addition & 1 deletion languages/verified/de_DE.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TXT_DEBUG_INFO="SKRIPT WIRD MIT DER DEBUG OPTION AUSGEFUEHRT! PARAMETER LISTE";
TXT_SELF_TEST_INFO="Fuehre Selbst-Tests als Preventivmassnahme gegen moegliche Fehler durch";
TXT_SELF_TEST_CHECK_BASH_COMPLETION="Konnte die TS3UpdateScript Bash-Vervollstaendigung nicht in /etc/bash_completion.d/ts3updatescript einrichten.";
TXT_SELF_TEST_CHECK_CONSISTENCY="Du benutzt eine ungueltige Kopie dieses Skripts. Es wird aufgrund von moeglichen Manipulationen durch Hacker NICHT empfohlen, diese Version zu verwenden.";
TXT_SELF_TEST_CONNECTIVITY="Konnte einen oder mehrere benoetigte Server fuer den Update-Prozess nicht erreichen. Entweder liegt ein Problem mit der Internetverbindung oder der Webseite selbst vor...";
TXT_SELF_TEST_CONNECTIVITY="konnte nicht erreicht werden. Dieses System ist fuer das Update notwendig. Bitte pruefe deine Internetverbindung und ob die Webseite prinzipiell im Browser erreichbar ist.";
TXT_SELF_TEST_TS3UPDATESCRIPT_RELEASED="Bitte aktualisiere das Skript durch den nachfolgenden Befehl auf die aktuellste Version";
TXT_SELF_TEST_DETECTION_FAILED="Fehler beim identifizieren der aktuellen Version des TS3UpdateScript. Bitte ueberpruefe dies manuell: https://github.com/TS3Tools/TS3UpdateScript";
TXT_SELF_TEST_SCRIPT_SUPPORT="Dein System wird nicht (vollstaendig) von diesem Skript unterstuetzt. Lasse uns bitte wissen, wo wir dein taegliches Cronjob Verzeichnis finden koennen, sodass wir das Skript optimieren koennen.";
Expand Down
2 changes: 1 addition & 1 deletion languages/verified/en_US.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ TXT_DEBUG_INFO="RUNNING SCRIPT WITH DEBUG OPTION! PARAMETER LIST";
TXT_SELF_TEST_INFO="Performing self-tests as preventive measures against possible failures";
TXT_SELF_TEST_CHECK_BASH_COMPLETION="Could not set up TS3UpdateScript bash-completion in /etc/bash_completion.d/ts3updatescript.";
TXT_SELF_TEST_CHECK_CONSISTENCY="You are using an invalid copy of this script. It is not recommend to use this in case of hackers may have manipulated it to their advantage.";
TXT_SELF_TEST_CONNECTIVITY="Could not reach one or more needed remote servers for update process. Your internet connectivity or the website self is may down...";
TXT_SELF_TEST_CONNECTIVITY="could not be reached. This system is necessary for the update. Please check your internet connection and if the website is principally reachable in your browser.";
TXT_SELF_TEST_TS3UPDATESCRIPT_RELEASED="Please update this script to the latest version by using the following command"
TXT_SELF_TEST_DETECTION_FAILED="Could not detect version of latest TS3UpdateScript. Please check manually for a newer version: https://github.com/TS3Tools/TS3UpdateScript";
TXT_SELF_TEST_SCRIPT_SUPPORT="Your system is not (fully) supported by this script. Please let us know, where we can find your daily cronjob path, that we can improve the script for you.";
Expand Down

0 comments on commit ed60710

Please sign in to comment.