Commit 3358f0f5 authored by Praveen Arimbrathodiyil's avatar Praveen Arimbrathodiyil
Browse files

read values from config file to debconf db

parent 392264a7
# config maintainer script for diaspora-installer
# config maintainer script for diaspora-common
set -e
# source debconf stuff
. /usr/share/debconf/confmodule
# Load config file, if it exists.
if [ -e $CONFIGFILE ]; then
. $CONFIGFILE || true
# Store values from config file into
# debconf db.
db_set diaspora-common/url "$SERVERNAME"
db_set diaspora-common/ssl "$diaspora_https:-true"
db_set diaspora-common/letsencrypt "${diaspora_letsencrypt:-false}"
# What is your pod address?
db_input high diaspora-common/url || true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment