Browse Source

Fix delete sites

master
VirtuBox 1 year ago
parent
commit
025c894697
Signed by: virtubox GPG Key ID: 22EB296C97BAD476
1 changed files with 3 additions and 8 deletions
  1. +3
    -8
      mybashrc

+ 3
- 8
mybashrc View File

@ -690,13 +690,8 @@ _DELETE_WO_SITES() {
echo -ne " deleting $site [..]\r"
if {
wo site delete $site --force
} >>/var/log/wo/test.log; then
echo -ne " deleting $site [${CGREEN}OK${CEND}]\\r"
echo -ne '\n'
else
echo -e " deleting $site [${CRED}FAIL${CEND}]"
echo -ne '\n'
exit_script
}; then
echo -e '\t[OK]'
fi
done
}
@ -782,4 +777,4 @@ alias bak=_BACK_FILE
alias update-wo-fast='python3 -m pip install -I "git+git://github.com/WordOps/WordOps.git@updating-configuration#egg=wordops"'
alias clone-wordops='git clone https://github.com/WordOps/WordOps.git -b updating-configuration'
alias urbackup-client-setup=_URBACKUP_CLIENT
alias delete-all-site=_DELETE_WO_SITES
alias delete-all-site=_DELETE_WO_SITES

Loading…
Cancel
Save