mirror of
https://github.com/dokku/dokku.git
synced 2025-12-15 19:47:42 +01:00
This makes standard use of shellcheck work without needing to provide extra configuration anywhere. Also remove use of inline 'shellcheck disable' calls that are already defined in the .shellcheckrc and don't need to be set inline.
19 lines
434 B
Bash
Executable File
19 lines
434 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
[[ $TRACE ]] && set -x
|
|
|
|
if [[ -e /usr/share/debconf/confmodule ]]; then
|
|
. /usr/share/debconf/confmodule
|
|
fi
|
|
|
|
readonly ACTION="${1:-configure}"
|
|
readonly VERSION="${2:-dev}"
|
|
|
|
db_input "high" "dokku/nginx_enable" || true
|
|
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
|