From 93bbf27d525b702a00bd52eb1e9d5f3edbbb7990 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 1 Oct 2021 08:37:19 +0200 Subject: [PATCH] Vagrant: Do not pull PHP requirements during VM setup Don't pull the PHP requirements of Friendica with composer during the VM setup. First coding is done out side of the VM, so should be the management of the dependencies. Additionally if the _VirtualBox Guest Additions_ versions don't match on the guest and host systems, writing to the shared directory will not work, thus running composer will generate error messages during the initial setup and Friendica wont work. --- bin/dev/vagrant_provision.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/dev/vagrant_provision.sh b/bin/dev/vagrant_provision.sh index c8e62f2915..a7cb7f308d 100755 --- a/bin/dev/vagrant_provision.sh +++ b/bin/dev/vagrant_provision.sh @@ -94,11 +94,7 @@ rm -rf /var/www/ ln -fs /vagrant /var/www # install deps with composer -echo ">>> Installing php requirements" -apt install unzip cd /var/www -php bin/composer.phar install - echo ">>> Setup Friendica"