config is in gitlab 8.5.8+dfsg-5.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/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
# Don't prompt for letsencrypt if not installed
if command -v letsencrypt >/dev/null; then
# Do you want Let's Encrypt?
db_get gitlab/ssl
if [ "${RET}" = "true" ]
then
db_input high gitlab/letsencrypt || true
db_go
fi
fi
|