|
|
@ -93,7 +93,6 @@ ssh_deploy() { |
|
|
|
Le_Deploy_ssh_scp_cmd="scp -T" |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# BACKUP is optional. If not provided then default to previously saved value or yes. |
|
|
|
if [ "$DEPLOY_SSH_BACKUP" = "no" ]; then |
|
|
|
Le_Deploy_ssh_backup="no" |
|
|
@ -206,7 +205,6 @@ then rm -rf \"\$fn\"; echo \"Backup \$fn deleted as older than 180 days\"; fi; d |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# copy new key into file. |
|
|
|
if [ "$Le_Deploy_ssh_use_scp" = "yes" ]; then |
|
|
|
# scp the file |
|
|
@ -399,7 +397,6 @@ then rm -rf \"\$fn\"; echo \"Backup \$fn deleted as older than 180 days\"; fi; d |
|
|
|
rm "$_local_full_file" >/dev/null 1>&2 |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# REMOTE_CMD is optional. |
|
|
|
# If provided then this command will be executed on remote host. |
|
|
|
if [ -n "$DEPLOY_SSH_REMOTE_CMD" ]; then |
|
|
|