From 51514c000147a49312ff18fec6d9aa27d06c7f79 Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Fri, 21 Apr 2017 13:39:50 +0530 Subject: [PATCH] change template name to purge_data --- debian/gitlab.templates | 2 +- debian/postrm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/gitlab.templates b/debian/gitlab.templates index b34ca65288..2615dce257 100644 --- a/debian/gitlab.templates +++ b/debian/gitlab.templates @@ -58,7 +58,7 @@ _Description: Use Let's Encrypt? certificates must be renewed manually after 3 months, when current letsencrypt certificate expire. -Template: gitlab/purge +Template: gitlab/purge_data Type: boolean Default: true _Description: Remove all data? diff --git a/debian/postrm b/debian/postrm index 9e9d5d3109..fb80ffc6fb 100644 --- a/debian/postrm +++ b/debian/postrm @@ -52,11 +52,11 @@ case "$1" in . /usr/share/debconf/confmodule # Do you want to remove all data? - db_input high gitlab/purge || true + db_input high gitlab/purge_data || true db_go # Check if we should remove data? - db_get gitlab/purge + db_get gitlab/purge_data if [ "${RET}" = "true" ]; then if [ -d ${gitlab_data_dir} ]; then for i in shared public db repositories secrets.yml Gemfile.lock; do