diff --git a/vagrant/install.sh b/vagrant/install.sh index a6807911e2..95fa254169 100644 --- a/vagrant/install.sh +++ b/vagrant/install.sh @@ -3,8 +3,17 @@ true SCRIPT_NAME="Install NcVM with Vagrant" +# Clone this repo git clone https://github.com/nextcloud/vm.git -cd vm +# We need a check here due to Shellcheck +if [ -d vm ] +then + cd vm +else + echo "Sorry, but the 'cd' dir doesn't exist, please report this issue to https://github.com/nextcloud/vm/" + exit +fi +# Do the installation sudo bash nextcloud_install_production.sh --provisioning