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