mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 18:41:32 -05:00
Update install.sh
This commit is contained in:
parent
f17d3eb203
commit
f8eb20e408
@ -362,11 +362,8 @@ install_pterodactyl() {
|
|||||||
chmod -R 755 storage/* bootstrap/cache/
|
chmod -R 755 storage/* bootstrap/cache/
|
||||||
|
|
||||||
output "Installing Pterodactyl..."
|
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
|
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
|
||||||
fi
|
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
/usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction
|
/usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction
|
||||||
php artisan key:generate --force
|
php artisan key:generate --force
|
||||||
|
Loading…
Reference in New Issue
Block a user