From e88d85c594640597a62ea6020055ec88bc1fb7ae Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Thu, 12 Dec 2024 10:44:24 +0100 Subject: [PATCH] Fix SC Signed-off-by: Daniel Hansson --- vagrant/install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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