mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-11-05 04:28:54 +01:00
f72554de10
* The Debian part will be generated and managed by Debconf and configure homeserver name, address and port * The local part will just be a config file that shows the other configuration options Added the address configuration and moved the config generation from the config to the postinst script.
17 lines
295 B
Bash
17 lines
295 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# Source debconf library.
|
|
. /usr/share/debconf/confmodule
|
|
|
|
# Ask for the Matrix homeserver name, address and port.
|
|
db_input high matrix-conduit/hostname || true
|
|
db_go
|
|
|
|
db_input low matrix-conduit/address || true
|
|
db_go
|
|
|
|
db_input medium matrix-conduit/port || true
|
|
db_go
|
|
|
|
exit 0
|