diff --git a/sympa/resources/tools/sympa_import.bash b/sympa/resources/tools/sympa_import.bash index b98388b..c7da3eb 100755 --- a/sympa/resources/tools/sympa_import.bash +++ b/sympa/resources/tools/sympa_import.bash @@ -112,15 +112,15 @@ function import_certbot { if [[ -f "$export_tmp/certbot.tar" ]]; then echo "certbot save previous cli.ini" - cp /etc/letsencrypt/cli.ini "$export_tmp/ + cp /etc/letsencrypt/cli.ini "$export_tmp/" echo "import certbot..." rm -rf /etc/letsencrypt tar -xf "$export_tmp/certbot.tar" -C / echo OK - + echo "certbot restore previous cli.ini" - mv "$export_tmp/cli.ini /etc/letsencrypt/ + mv "$export_tmp/cli.ini" /etc/letsencrypt/ echo "convert certbot apache2 authenticator to certbotx nginx authenticator" /opt/miaou-bash/tools/append_or_replace '^authenticator =.*$' "authenticator = nginx" /etc/letsencrypt/renewal/$SYMPA_DOMAIN.conf