diff --git a/.githooks/post-merge b/.githooks/post-merge index fdaba7cab50828699a0b680bfaee39a9b640e1a4..2d875cffda49cce2eda0f14bbc8aee7339821d8c 100755 --- a/.githooks/post-merge +++ b/.githooks/post-merge @@ -26,6 +26,8 @@ Documents/bin/cron-jobs if command -v vagrant > /dev/null then echo Installing Vagrant plugins >> /dev/stderr - vagrant plugin install landrush || true - vagrant plugin install vagrant-gatling-rsync || true + for plugin in landrush vagrant-gatling-rsync + do + vagrant plugin list | grep -qw "$plugin" || vagrant plugin install "$plugin" || true + done fi