mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2024-11-29 18:36:21 +00: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.
18 lines
295 B
Bash
18 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
|