From 153eece62f788f839bd384d3cbdf4f858db9699b Mon Sep 17 00:00:00 2001 From: ayapapa Date: Tue, 28 Feb 2017 22:03:45 +0900 Subject: [PATCH] fixed backup issue --- assets/runtime/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/runtime/functions b/assets/runtime/functions index 18136582..4b972724 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -777,7 +777,7 @@ gitlab_configure_backups() { GITLAB_BACKUP_PG_SCHEMA \ GITLAB_BACKUP_ARCHIVE_PERMISSIONS gitlab_configure_backups_schedule - if [[ -z ${AWS_BACKUPS} || -z ${GCS_BACKUPS} ]]; then + if [[ ${AWS_BACKUPS} != true && ${GCS_BACKUPS} != true ]]; then exec_as_git sed -i "/upload:/,/#end-gcs/d" ${GITLAB_CONFIG} return 0 fi