mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Merge pull request #1091 from paolomainardi/patch-1
Backups fix logical check of booleans
This commit is contained in:
commit
fa3537dd8e
@ -777,8 +777,7 @@ gitlab_configure_backups() {
|
||||
GITLAB_BACKUP_PG_SCHEMA \
|
||||
GITLAB_BACKUP_ARCHIVE_PERMISSIONS
|
||||
gitlab_configure_backups_schedule
|
||||
BACKUP_ACTIVE=(${AWS_BACKUPS} OR ${GCS_BACKUPS})
|
||||
if [[ ${BACKUP_ACTIVE} == false ]]; then
|
||||
if [[ -z ${AWS_BACKUPS} || -z ${GCS_BACKUPS} ]]; then
|
||||
exec_as_git sed -i "/upload:/,/#end-gcs/d" ${GITLAB_CONFIG}
|
||||
return 0
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user