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