fix letsencrypt email handling

This commit is contained in:
Praveen Arimbrathodiyil 2017-04-27 11:23:26 +05:30
parent f198d87199
commit ea241dd970
2 changed files with 3 additions and 3 deletions

4
debian/config vendored
View file

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

2
debian/postrm vendored
View file

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