mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-08 23:41:45 +00:00
Update ssh.sh
shfmt formatting
This commit is contained in:
parent
4cda54774a
commit
08d60fcbf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user