change template name to purge_data
This commit is contained in:
parent
a470003cf3
commit
51514c0001
2 changed files with 3 additions and 3 deletions
2
debian/gitlab.templates
vendored
2
debian/gitlab.templates
vendored
|
@ -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
4
debian/postrm
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue