From c352f463f7f3e55275196fc0533409c013b09049 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 1 Apr 2018 17:48:06 -0400 Subject: [PATCH] fix: use correct path for /etc/default file /etc/defaults was an invalid path. --- contrib/dokku-update | 4 ++-- debian/postinst | 4 ++-- dokku | 4 ++-- rpm/dokku.postinst | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) 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}"