Separate plugin-install command

This commit is contained in:
Alexander
2013-07-02 23:02:42 +02:00
parent 67958431b0
commit eaa486e888
2 changed files with 10 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ install:
plugins: pluginhook docker plugins: pluginhook docker
mkdir -p /var/lib/dokku/plugins mkdir -p /var/lib/dokku/plugins
cp -r plugins/* /var/lib/dokku/plugins cp -r plugins/* /var/lib/dokku/plugins
dokku plugins-install
dokku plugins dokku plugins
dependencies: gitreceive sshcommand pluginhook docker stack dependencies: gitreceive sshcommand pluginhook docker stack

4
dokku
View File

@@ -48,6 +48,9 @@ case "$1" in
plugins) plugins)
ls -1 -d $PLUGIN_PATH/*/ ls -1 -d $PLUGIN_PATH/*/
;;
plugins-install)
pluginhook install pluginhook install
;; ;;
@@ -55,6 +58,7 @@ case "$1" in
cat<<EOF | pluginhook commands help | sort cat<<EOF | pluginhook commands help | sort
help Print the list of commands help Print the list of commands
plugins Print active plugins plugins Print active plugins
plugins-install Install active plugins
EOF EOF
;; ;;