[DRE-commits] [gitlab] 05/09: change template name to purge_data
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Fri Apr 21 09:45:18 UTC 2017
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository gitlab.
commit 51514c000147a49312ff18fec6d9aa27d06c7f79
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Fri Apr 21 13:39:50 2017 +0530
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 b34ca65..2615dce 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 9e9d5d3..fb80ffc 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/gitlab.git
More information about the Pkg-ruby-extras-commits
mailing list