#!/bin/sh
# config maintainer script for gitlab
 
set -e

# source debconf stuffs
. /usr/share/debconf/confmodule

# What is your fqdn?
db_input high gitlab/fqdn || true
db_go

# Do you want https?
db_input high gitlab/ssl || true
db_go

# Do you want Let's Encrypt?
db_get gitlab/ssl
if [ "${RET}" = "true" ]
then
	db_input high gitlab/letsencrypt || true
	db_go
fi