Skip to content

Commit ed60710

Browse files
author
Sebastian Krätzig
committed
Read docs/CHANGELOG.md
1 parent 77c36f7 commit ed60710

File tree

4 files changed

+27
-7
lines changed

4 files changed

+27
-7
lines changed

TS3UpdateScript

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ exec 5<&0
1616
# Donations: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7ZRXLSC2UBVWE
1717
#
1818

19-
SCRIPT_VERSION="5.8.0"
20-
LAST_EDIT_DATE="2020-04-20"
19+
SCRIPT_VERSION="5.8.1"
20+
LAST_EDIT_DATE="2020-04-30"
2121

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

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

22692269
# Able to reach all needed remote server?
22702270
if [[ "$PAR_DEACTIVATE_HOST_ALIVE_CHECK" -eq 0 ]]; then
2271-
if ! testInternetConnectivity "www.ts3-tools.info" || ! testInternetConnectivity "dl.4players.de" || ! testInternetConnectivity "github.com" || ! testInternetConnectivity "raw.githubusercontent.com"; then
2272-
echo "${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
2271+
if ! testInternetConnectivity "www.ts3-tools.info"; then
2272+
echo "www.ts3-tools.info ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
2273+
SELF_TEST_STATUS=1;
2274+
fi
2275+
2276+
if ! testInternetConnectivity "files.teamspeak-services.com"; then
2277+
echo "files.teamspeak-services.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
2278+
SELF_TEST_STATUS=1;
2279+
fi
2280+
2281+
if ! testInternetConnectivity "github.com"; then
2282+
echo "github.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
2283+
SELF_TEST_STATUS=1;
2284+
fi
2285+
2286+
if ! testInternetConnectivity "raw.githubusercontent.com"; then
2287+
echo "raw.githubusercontent.com ${TXT_SELF_TEST_CONNECTIVITY}" >> SELF_TEST_STATUS.txt;
22732288
SELF_TEST_STATUS=1;
22742289
fi
22752290
fi

docs/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Hotfix | Important fix for one more issues, which causes a not (correct) working
2323

2424
## Releases
2525

26+
### Version 5.8.1 (2020-04-30)
27+
28+
* Improved and updated messages for self-tests to see which site is not reachable
29+
* Replaced self-test of internet connectivity for dl.4players.de with files.teamspeak-services.com
30+
2631
### Version 5.8.0 (2020-04-20)
2732

2833
* Added information regarding `.ts3updatescript.lock` file (GitHub issue [#107](https://github.com/TS3Tools/TS3UpdateScript/issues/107))

languages/verified/de_DE.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ TXT_DEBUG_INFO="SKRIPT WIRD MIT DER DEBUG OPTION AUSGEFUEHRT! PARAMETER LISTE";
2828
TXT_SELF_TEST_INFO="Fuehre Selbst-Tests als Preventivmassnahme gegen moegliche Fehler durch";
2929
TXT_SELF_TEST_CHECK_BASH_COMPLETION="Konnte die TS3UpdateScript Bash-Vervollstaendigung nicht in /etc/bash_completion.d/ts3updatescript einrichten.";
3030
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.";
31-
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...";
31+
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.";
3232
TXT_SELF_TEST_TS3UPDATESCRIPT_RELEASED="Bitte aktualisiere das Skript durch den nachfolgenden Befehl auf die aktuellste Version";
3333
TXT_SELF_TEST_DETECTION_FAILED="Fehler beim identifizieren der aktuellen Version des TS3UpdateScript. Bitte ueberpruefe dies manuell: https://github.com/TS3Tools/TS3UpdateScript";
3434
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.";

languages/verified/en_US.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ TXT_DEBUG_INFO="RUNNING SCRIPT WITH DEBUG OPTION! PARAMETER LIST";
2828
TXT_SELF_TEST_INFO="Performing self-tests as preventive measures against possible failures";
2929
TXT_SELF_TEST_CHECK_BASH_COMPLETION="Could not set up TS3UpdateScript bash-completion in /etc/bash_completion.d/ts3updatescript.";
3030
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.";
31-
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...";
31+
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.";
3232
TXT_SELF_TEST_TS3UPDATESCRIPT_RELEASED="Please update this script to the latest version by using the following command"
3333
TXT_SELF_TEST_DETECTION_FAILED="Could not detect version of latest TS3UpdateScript. Please check manually for a newer version: https://github.com/TS3Tools/TS3UpdateScript";
3434
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.";

0 commit comments

Comments
 (0)