Skip to content

Commit c58115d

Browse files
author
Sebastian Krätzig
committed
Read docs/CHANGELOG.md
1 parent 8bd2871 commit c58115d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

TS3UpdateScript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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="eb9cff6b07559eefe86311a171a76ee46498a0a73d1a432a1f68b0563f7340ed"
90+
ORIGIN="ba8ba471627a26bde26f8e6c680574deda66c7c10bf617211e0e752f424f5c0a"
9191

9292
if [[ "$CHKSUM" == "$ORIGIN" ]]; then
9393
return 0;
@@ -312,7 +312,7 @@ function setUpBashCompletion() {
312312
return 1;
313313
fi
314314
else
315-
if [[ ! $(cp .ts3updatescript /etc/bash_completion.d/ts3updatescript) ]]; then
315+
if [[ ! $(cp ${ABSOLUTE_PATH}/.ts3updatescript /etc/bash_completion.d/ts3updatescript) ]]; then
316316
if [[ ! $(chown root:root /etc/bash_completion.d/ts3updatescript) ]]; then
317317
return 0;
318318
else

docs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Hotfix | Important fix for one more issues, which causes a not (correct) working
2525

2626
### Version 5.8.2 (2021-04-07)
2727

28+
* Changed relative to absolute path for installing the scripts bash completion
2829
* Fixed incorrect returned `ABSOLUTE_PATH` when running as symlinked file in eg. `/usr/local/bin/`
2930
! You can now clone this project into any directory on your server and then symlink it to make it globally available
3031
! `# ln -s /path/to/cloned/TS3UpdateScript /usr/local/bin/ts3updatescript`

0 commit comments

Comments
 (0)