1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-09-16 14:14:42 -04:00

Update install.sh

This commit is contained in:
Tommy 2021-11-01 21:57:54 -04:00 committed by GitHub
parent f17d3eb203
commit f8eb20e408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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