From 3debf707c61acd2c7db75f25d432581940f6a47d Mon Sep 17 00:00:00 2001 From: TommyTran732 <57488583+tommytran732@users.noreply.github.com> Date: Thu, 14 Jan 2021 08:04:34 -0500 Subject: [PATCH] Fix 0.7 installation Setting the script to use composer version 1.10.16 on 0.7 Pterodactyl installation --- install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ee8b46b..f27bbc3 100644 --- a/install.sh +++ b/install.sh @@ -739,7 +739,11 @@ install_pterodactyl() { chmod -R 755 storage/* bootstrap/cache/ output "Installing Pterodactyl..." - curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer + if [ "$installoption" = "2" ] || [ "$installoption" = "6" ]; then + curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer --version=1.10.16 + else + curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer + fi cp .env.example .env /usr/local/bin/composer install --no-dev --optimize-autoloader php artisan key:generate --force