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 7, 2021
1 parent 8bd2871 commit c58115d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TS3UpdateScript
Original file line number Diff line number Diff line change
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="eb9cff6b07559eefe86311a171a76ee46498a0a73d1a432a1f68b0563f7340ed"
ORIGIN="ba8ba471627a26bde26f8e6c680574deda66c7c10bf617211e0e752f424f5c0a"

if [[ "$CHKSUM" == "$ORIGIN" ]]; then
return 0;
Expand Down Expand Up @@ -312,7 +312,7 @@ function setUpBashCompletion() {
return 1;
fi
else
if [[ ! $(cp .ts3updatescript /etc/bash_completion.d/ts3updatescript) ]]; then
if [[ ! $(cp ${ABSOLUTE_PATH}/.ts3updatescript /etc/bash_completion.d/ts3updatescript) ]]; then
if [[ ! $(chown root:root /etc/bash_completion.d/ts3updatescript) ]]; then
return 0;
else
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Hotfix | Important fix for one more issues, which causes a not (correct) working

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

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

0 comments on commit c58115d

Please sign in to comment.