mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-09 05:01:33 -05:00
Update install.sh
This commit is contained in:
parent
290ea433ca
commit
5a2b87dc76
@ -368,7 +368,11 @@ install_pterodactyl() {
|
|||||||
chmod -R 755 storage/* bootstrap/cache/
|
chmod -R 755 storage/* bootstrap/cache/
|
||||||
|
|
||||||
output "Installing Pterodactyl..."
|
output "Installing Pterodactyl..."
|
||||||
|
if [ "$lsb_dist" = "fedora" ] || [ "$lsb_dist" = "centos" ] || [ "$lsb_dist" = "rhel" ] || [ "$lsb_dist" = "rocky" ] || [ "$lsb_dist" = "almalinux" ]; then
|
||||||
|
dnf -y install composer
|
||||||
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user