From f9b68027da01ed349c26befef7dfd5791297728b Mon Sep 17 00:00:00 2001 From: dpeca Date: Sat, 24 Aug 2019 02:17:24 +0200 Subject: [PATCH] Update v-change-vesta-port --- bin/v-change-vesta-port | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/v-change-vesta-port b/bin/v-change-vesta-port index 53beef2d..16e47ca3 100755 --- a/bin/v-change-vesta-port +++ b/bin/v-change-vesta-port @@ -15,6 +15,9 @@ if [ "$whoami" != "root" ] && [ "$whoami" != "admin" ] ; then exit 1; fi +if [ -z "$VESTA" ]; then + VESTA="/usr/local/vesta" +fi # Argument definition port=$1