diff --git a/assets/runtime/functions b/assets/runtime/functions index dd7cea6c..37a32b4d 100644 --- a/assets/runtime/functions +++ b/assets/runtime/functions @@ -859,7 +859,7 @@ gitlab_configure_backups() { GITLAB_BACKUP_ARCHIVE_PERMISSIONS gitlab_configure_backups_schedule if [[ ${AWS_BACKUPS} != true && ${GCS_BACKUPS} != true ]]; then - exec_as_git sed -i "/upload:/,/#end-gcs/d" ${GITLAB_CONFIG} + exec_as_git sed -i "/\s\+upload:/,/#end-gcs/d" ${GITLAB_CONFIG} return 0 fi if [[ ${AWS_BACKUPS} == true && ${GCS_BACKUPS} == true ]]; then