From 2fbfe7e8e68c3f021084c2fbb5ab193f3998d610 Mon Sep 17 00:00:00 2001 From: daplay Date: Mon, 30 May 2016 18:05:28 -0700 Subject: [PATCH] rundeck plugins may also be .zip files --- content/opt/run | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/opt/run b/content/opt/run index 6b5c875..84dfdcb 100644 --- a/content/opt/run +++ b/content/opt/run @@ -132,6 +132,10 @@ update_user_password () { echo "=>Installing plugins from /opt/rundeck-plugins" cp /opt/rundeck-plugins/*.jar /var/lib/rundeck/libext 2>/dev/null fi + if ls /opt/rundeck-plugins/*.zip 1> /dev/null 2>&1; then + echo "=>Installing plugins from /opt/rundeck-plugins" + cp /opt/rundeck-plugins/*.zip /var/lib/rundeck/libext 2>/dev/null + fi echo -e "\n\n\n" echo "==================================================================="