This commit is contained in:
VirtuBox
2019-03-24 20:55:35 +01:00
parent c151045814
commit 4c1e336bfe

23
install
View File

@@ -357,17 +357,17 @@ wo_install_acme_sh() {
} >> "$wo_install_log" 2>&1 } >> "$wo_install_log" 2>&1
fi fi
if [ -d "$HOME/.acme/.sh" ]; then if [ -d "$HOME/.acme/.sh" ]; then
{ {
rsync -az --exclude="account.conf" \ rsync -az --exclude="account.conf" \
--exclude="acme.sh" \ --exclude="acme.sh" \
--exclude="acme.sh.env" \ --exclude="acme.sh.env" \
--exclude="deploy" \ --exclude="deploy" \
--exclude="dnsapi" \ --exclude="dnsapi" \
--exclude="http.header" \ --exclude="http.header" \
--exclude="ca" \ --exclude="ca" \
"$HOME/.acme.sh/" \ "$HOME/.acme.sh/" \
/etc/letsencrypt/renewal/ /etc/letsencrypt/renewal/
} >> "$wo_install_log" 2>&1 } >> "$wo_install_log" 2>&1
fi fi
} }
@@ -651,7 +651,6 @@ else
wo_update_wp_cli | tee -ai $wo_install_log wo_update_wp_cli | tee -ai $wo_install_log
wo_lib_echo "Cleaning-up EE previous install" | tee -ai $wo_install_log wo_lib_echo "Cleaning-up EE previous install" | tee -ai $wo_install_log
wo_clean_ee | tee -ai $wo_install_log wo_clean_ee | tee -ai $wo_install_log
e
else else
wo_lib_error "Not installing WordOps, exit status = " 1 wo_lib_error "Not installing WordOps, exit status = " 1
fi fi