mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 20:19:52 +01:00
22 lines
423 B
Plaintext
22 lines
423 B
Plaintext
|
|
#!/bin/sh -e
|
||
|
|
|
||
|
|
. /usr/share/debconf/confmodule
|
||
|
|
|
||
|
|
readonly ACTION="${1:-configure}"
|
||
|
|
readonly VERSION="${2:-dev}"
|
||
|
|
|
||
|
|
db_input "high" "dokku/web_config" || true
|
||
|
|
db_go || true
|
||
|
|
|
||
|
|
db_get "dokku/web_config"
|
||
|
|
if [ $RET = "true" ]; then
|
||
|
|
exit 0
|
||
|
|
fi
|
||
|
|
|
||
|
|
db_input "high" "dokku/hostname" || true
|
||
|
|
db_input "high" "dokku/vhost_enable" || true
|
||
|
|
if [ "$ACTION" != "reconfigure" ]; then
|
||
|
|
db_input "high" "dokku/key_file" || true
|
||
|
|
fi
|
||
|
|
db_go || true
|