fix: use correct path for /etc/default file

/etc/defaults was an invalid path.
This commit is contained in:
Jose Diaz-Gonzalez
2018-04-01 17:48:06 -04:00
parent db5b077354
commit c352f463f7
4 changed files with 8 additions and 8 deletions

4
debian/postinst vendored
View File

@@ -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}"