Fix cheat.sh symbolic link
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
4
install
4
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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
wo stack purge --all --force
|
||||
|
||||
Reference in New Issue
Block a user