Fix test vagrantfiles and create missing xo-builds directory in xo-install.sh for new installations

This commit is contained in:
ronivay
2018-11-15 18:11:01 +02:00
parent f3321ba90b
commit f588105e06
4 changed files with 12 additions and 6 deletions

View File

@@ -263,6 +263,12 @@ function InstallXO {
mkdir -p "$INSTALLDIR"
fi
# Create missing xo-builds directory if doesn't exist already
if [[ ! -d "$INSTALLDIR/xo-builds" ]]; then
echo "Creating missing xo-builds directory to $INSTALLDIR/xo-builds"
mkdir "$INSTALLDIR/xo-builds"
fi
echo
echo "Fetching Xen Orchestra source code ..."
echo