From 67f6d416911ebe3795a6fbe8db54c4c8b4e68d5d Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 17 Nov 2020 07:08:18 -0500
Subject: [PATCH] Fix Composer compatibility in Vagrant.

---
 Vagrantfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Vagrantfile b/Vagrantfile
index 1c62c7aff87..5a44b6c837b 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -50,6 +50,7 @@ Vagrant.configure("2") do |config|
     php -r "if (hash_file('SHA384', 'composer-setup.php') === trim(file_get_contents('https://composer.github.io/installer.sig'))) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
     php composer-setup.php
     php -r "unlink('composer-setup.php');"
+    php composer.phar self-update --1
     mv composer.phar /usr/local/bin/composer
 
     # Check out and set up VuFind.
-- 
GitLab