From f8eb20e4087aa6fc44fca72cc2c215998d8fb4ae Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 1 Nov 2021 21:57:54 -0400 Subject: [PATCH] Update install.sh --- install.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index 3a49e62..dbc1c5e 100644 --- a/install.sh +++ b/install.sh @@ -362,11 +362,8 @@ install_pterodactyl() { chmod -R 755 storage/* bootstrap/cache/ output "Installing Pterodactyl..." - if [ "$installoption" = "1" ] || [ "$installoption" = "3" ]; 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 + curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer + cp .env.example .env /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction php artisan key:generate --force