Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
806b746f
Commit
806b746f
authored
Feb 22, 2020
by
dkerr64
Browse files
Fix bug where backup and batch_mode yes/no values could not be changed.
Once set to "no" then they could never be set back to "yes"
parent
cc820e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
deploy/ssh.sh
View file @
806b746f
...
...
@@ -79,7 +79,7 @@ ssh_deploy() {
# BACKUP is optional. If not provided then default to yes
if
[
"
$DEPLOY_SSH_BACKUP
"
=
"no"
]
;
then
Le_Deploy_ssh_backup
=
"no"
elif
[
-z
"
$Le_Deploy_ssh_backup
"
]
;
then
elif
[
-z
"
$Le_Deploy_ssh_backup
"
]
||
[
"
$DEPLOY_SSH_BACKUP
"
=
"yes"
]
;
then
Le_Deploy_ssh_backup
=
"yes"
fi
_savedomainconf Le_Deploy_ssh_backup
"
$Le_Deploy_ssh_backup
"
...
...
@@ -87,7 +87,7 @@ ssh_deploy() {
# BATCH_MODE is optional. If not provided then default to yes
if
[
"
$DEPLOY_SSH_BATCH_MODE
"
=
"no"
]
;
then
Le_Deploy_ssh_batch_mode
=
"no"
elif
[
-z
"
$Le_Deploy_ssh_batch_mode
"
]
;
then
elif
[
-z
"
$Le_Deploy_ssh_batch_mode
"
]
||
[
"
$DEPLOY_SSH_BATCH_MODE
"
=
"yes"
]
;
then
Le_Deploy_ssh_batch_mode
=
"yes"
fi
_savedomainconf Le_Deploy_ssh_batch_mode
"
$Le_Deploy_ssh_batch_mode
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment