diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c65be3..48a9b5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Fix cheat.sh install [PR #139](https://github.com/WordOps/WordOps/pull/139) - sslutils error when trying to display SSL certificate expiration +- Fix cheat.sh symbolink link check before creation ### v3.9.8.9 - 2019-09-03 diff --git a/install b/install index 6b9b45f..e185267 100755 --- a/install +++ b/install @@ -798,7 +798,9 @@ wo_ufw_setup() { wo_cheat_install() { curl -sL https://cht.sh/:cht.sh > /usr/local/bin/cht.sh chmod +x /usr/local/bin/cht.sh - ln -s /usr/local/bin/cht.sh /usr/local/bin/cheat + [ ! -h /usr/local/bin/cheat ] && { + ln -s /usr/local/bin/cht.sh /usr/local/bin/cheat + } curl -sL https://cheat.sh/:bash_completion > /etc/bash_completion.d/cht.sh } diff --git a/tests/travis.sh b/tests/travis.sh index 59cc9ef..747379a 100644 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -150,11 +150,9 @@ for stack in $stack_upgrade; do fi done - - echo -e "${CGREEN}#############################################${CEND}" echo -e ' various informations ' echo -e "${CGREEN}#############################################${CEND}" wp --allow-root --info wo site info wp1.com -wo stack purge --all --force \ No newline at end of file +wo stack purge --all --force