change template name to purge_data

This commit is contained in:
Praveen Arimbrathodiyil 2017-04-21 13:39:50 +05:30
parent a470003cf3
commit 51514c0001
2 changed files with 3 additions and 3 deletions

View file

@ -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?

4
debian/postrm vendored
View file

@ -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