Browse Source

Update ssh.sh

shfmt formatting
pull/3674/head
fradev 3 years ago
parent
commit
08d60fcbf2
  1. 3
      deploy/ssh.sh

3
deploy/ssh.sh

@ -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…
Cancel
Save