[DRE-commits] [gitlab] 01/02: fix letsencrypt email handling

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Apr 27 06:01:27 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 ea241dd970d8a1b20df5c6d69626ee520f608212
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Apr 27 11:23:26 2017 +0530

    fix letsencrypt email handling
---
 debian/config | 4 ++--
 debian/postrm | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/config b/debian/config
index 798ed04..a644c31 100755
--- a/debian/config
+++ b/debian/config
@@ -40,11 +40,11 @@ if command -v letsencrypt >/dev/null; then
     db_input high gitlab/letsencrypt || true
     db_go
     db_get gitlab/letsencrypt
-    gitlab_letsencrypt_email=$RET
+    gitlab_letsencrypt=$RET
     if [ "$gitlab_letsencrypt" = "true" ]; then
       # Get email for letsencrypt updates
-      gitlab_letsencrypt_email=$RET
       db_input high gitlab/letsencrypt_email || true
+      db_go
     fi
   fi
 fi
diff --git a/debian/postrm b/debian/postrm
index b563fae..5796968 100644
--- a/debian/postrm
+++ b/debian/postrm
@@ -25,7 +25,7 @@ safely_remove() {
   CANDIDATE_DIR=$1
   if [ -n "${CANDIDATE_DIR}" ];then
     if [ -e ${CANDIDATE_DIR} ]; then
-      echo "Removing $i..."
+      echo "Removing: $i"
       rm -rf ${CANDIDATE_DIR}
     fi
   fi

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