From 037781bfe8d8eff92ab7f56716ac30e6f5f74a0d Mon Sep 17 00:00:00 2001 From: alvin0319 Date: Wed, 17 Feb 2021 10:26:16 +0900 Subject: [PATCH] Use --no-interaction to prevent continue as root user --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c6f1ce2..302579e 100644 --- a/install.sh +++ b/install.sh @@ -745,7 +745,7 @@ install_pterodactyl() { 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 + /usr/local/bin/composer install --no-dev --optimize-autoloader --no-interaction php artisan key:generate --force php artisan p:environment:setup -n --author=$email --url=https://$FQDN --timezone=America/New_York --cache=redis --session=database --queue=redis --redis-host=127.0.0.1 --redis-pass= --redis-port=6379 php artisan p:environment:database --host=127.0.0.1 --port=3306 --database=panel --username=pterodactyl --password=$password