Fix bug.
This commit is contained in:
parent
2719334953
commit
89bbbb1b63
|
@ -91,7 +91,7 @@ else
|
|||
$ssh_command "mkdir -p $root_path/ssl_files/renewal"
|
||||
$ssh_command "$remote_sudo_command cp -L /etc/letsencrypt/renewal/$real_domain.conf $root_path/ssl_files/renewal/."
|
||||
org_ssl_dir=`dirname $ssl_certificate_file`
|
||||
new_ssl_dir="ssl_files/$(basename org_ssl_dir)"
|
||||
new_ssl_dir="ssl_files/$(basename $org_ssl_dir)"
|
||||
$ssh_command "$remote_sudo_command cp -r -f -L $org_ssl_dir $root_path/ssl_files/."
|
||||
else
|
||||
$ssh_command "$remote_sudo_command cp -f $ssl_certificate_file $root_path/ssl_files/."
|
||||
|
|
|
@ -95,7 +95,7 @@ else
|
|||
$ssh_command "mkdir -p $root_path/ssl_files/renewal"
|
||||
$ssh_command "$remote_sudo_command cp -L /etc/letsencrypt/renewal/$real_domain.conf $root_path/ssl_files/renewal/."
|
||||
org_ssl_dir=`dirname $ssl_certificate_file`
|
||||
new_ssl_dir="ssl_files/$(basename org_ssl_dir)"
|
||||
new_ssl_dir="ssl_files/$(basename $org_ssl_dir)"
|
||||
$ssh_command "$remote_sudo_command cp -r -f -L $org_ssl_dir $root_path/ssl_files/."
|
||||
else
|
||||
$ssh_command "$remote_sudo_command cp -f $ssl_certificate_file $root_path/ssl_files/."
|
||||
|
|
Loading…
Reference in New Issue