From 4955f9c6007f77d672b5d0a55b95a27d8bb3e006 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 11 Dec 2014 01:36:36 -0500 Subject: [PATCH] Fix test for file --- plugins/nginx-vhosts/post-deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 7853d6931..cb4c7d810 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -22,7 +22,7 @@ restart_nginx () { if [[ -n "$NO_VHOST" ]]; then echo "-----> NO_VHOST config detected" -elif [[ -f "$DOKKU_ROOT/VHOST" ]]; then +elif [[ ! -f "$DOKKU_ROOT/$APP/VHOST" ]]; then dokku domains:setup $APP fi