Fix commands, the easy way.

Don't use pluginhook to run the commands hook, just run all the scripts
in a loop.
This commit is contained in:
Paul Lietar committed 2013-11-22 21:42:39 +00:00
1 parent 3f487b2291
commit 455be29249
6 files changed
+9 -6

No files matched your search

+3 -1
View File
@@ -100,7 +100,9 @@ EOF
;;
*)
pluginhook commands "$@"
for script in $(ls -d /var/lib/dokku/plugins/*/commands); do
$script "$@"
done
;;
esac