Fix plugins-install-dependencies [fixes #720]

This commit is contained in:
Will Boyce committed 2014-10-18 02:23:33 +01:00
1 parent b8b364fd91
commit 65c499e439
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ export PLUGIN_PATH=${PLUGIN_PATH:="/var/lib/dokku/plugins"}
[[ $DOKKU_TRACE ]] && set -x [[ $DOKKU_TRACE ]] && set -x
if [[ $(id -un) != "dokku" && $1 != "plugins-install" ]]; then if [[ $(id -un) != "dokku" && $1 != plugins-install* ]]; then
sudo -u dokku -H $0 "$@" sudo -u dokku -H $0 "$@"
exit exit
fi fi