diff --git a/contrib/dokku-update b/contrib/dokku-update index 31c3c97fe..8619b6f88 100755 --- a/contrib/dokku-update +++ b/contrib/dokku-update @@ -2,9 +2,9 @@ set -eo pipefail shopt -s nullglob -if [[ -r /etc/defaults/dokku ]]; then +if [[ -r /etc/default/dokku ]]; then # shellcheck disable=SC1091 - source /etc/defaults/dokku + source /etc/default/dokku fi export DOKKU_ROOT=${DOKKU_ROOT:=~dokku} diff --git a/debian/postinst b/debian/postinst index bbd9dd714..ac40b8e72 100755 --- a/debian/postinst +++ b/debian/postinst @@ -6,9 +6,9 @@ if [[ -e /usr/share/debconf/confmodule ]]; then . /usr/share/debconf/confmodule fi -if [[ -r /etc/defaults/dokku ]]; then +if [[ -r /etc/default/dokku ]]; then # shellcheck disable=SC1091 - source /etc/defaults/dokku + source /etc/default/dokku fi readonly DOKKU_ROOT="${DOKKU_ROOT:-/home/dokku}" diff --git a/dokku b/dokku index 38a30067f..fed0cdcba 100755 --- a/dokku +++ b/dokku @@ -2,9 +2,9 @@ set -eo pipefail shopt -s nullglob -if [[ -r /etc/defaults/dokku ]]; then +if [[ -r /etc/default/dokku ]]; then # shellcheck disable=SC1091 - source /etc/defaults/dokku + source /etc/default/dokku fi export DOKKU_ROOT=${DOKKU_ROOT:=~dokku} diff --git a/rpm/dokku.postinst b/rpm/dokku.postinst index 9b484d74c..4658c75b1 100644 --- a/rpm/dokku.postinst +++ b/rpm/dokku.postinst @@ -50,9 +50,9 @@ setup-version() { } main() { - if [[ -r /etc/defaults/dokku ]]; then + if [[ -r /etc/default/dokku ]]; then # shellcheck disable=SC1091 - source /etc/defaults/dokku + source /etc/default/dokku fi readonly DOKKU_ROOT="${DOKKU_ROOT:-/home/dokku}"