From 5bfb43222b84e6a693bfbcde2a61cbcba5bafc9e Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 27 Apr 2018 12:33:33 -0400 Subject: [PATCH] fix: add missing source --- plugins/plugin/subcommands/disable | 1 + plugins/plugin/subcommands/enable | 1 + plugins/plugin/subcommands/install | 1 + plugins/plugin/subcommands/uninstall | 1 + plugins/plugin/subcommands/update | 1 + 5 files changed, 5 insertions(+) diff --git a/plugins/plugin/subcommands/disable b/plugins/plugin/subcommands/disable index 94efb0a97..96ecda2ef 100755 --- a/plugins/plugin/subcommands/disable +++ b/plugins/plugin/subcommands/disable @@ -2,6 +2,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/plugin/functions" +source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions" plugin_disable_cmd() { declare desc="disables plugin via command line" diff --git a/plugins/plugin/subcommands/enable b/plugins/plugin/subcommands/enable index 4b4f24eed..5bc0e0fc6 100755 --- a/plugins/plugin/subcommands/enable +++ b/plugins/plugin/subcommands/enable @@ -2,6 +2,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/plugin/functions" +source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions" plugin_enable_cmd() { declare desc="enables plugin via command line" diff --git a/plugins/plugin/subcommands/install b/plugins/plugin/subcommands/install index 8da38b67e..7dab191a1 100755 --- a/plugins/plugin/subcommands/install +++ b/plugins/plugin/subcommands/install @@ -2,6 +2,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/plugin/functions" +source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions" plugin_install_cmd() { declare desc="installs a plugin from URL and calls install plugin trigger via command line" diff --git a/plugins/plugin/subcommands/uninstall b/plugins/plugin/subcommands/uninstall index 86fbf36b8..6b3247067 100755 --- a/plugins/plugin/subcommands/uninstall +++ b/plugins/plugin/subcommands/uninstall @@ -2,6 +2,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions" source "$PLUGIN_AVAILABLE_PATH/plugin/functions" +source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions" plugin_uninstall_cmd() { declare desc="uninstalls plugin via command line" diff --git a/plugins/plugin/subcommands/update b/plugins/plugin/subcommands/update index 5077b2028..3c4fbbef9 100755 --- a/plugins/plugin/subcommands/update +++ b/plugins/plugin/subcommands/update @@ -1,5 +1,6 @@ #!/usr/bin/env bash set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x +source "$PLUGIN_AVAILABLE_PATH/plugin/internal-functions" plugin_update_cmd() { declare desc="updates plugin to optional committish and calls update plugin trigger via command line"