1
0
mirror of https://github.com/tommytran732/Pterodactyl-Script synced 2024-11-22 18:41:32 -05:00

Fix 0.7 upgrade to 1.0

This commit is contained in:
HeyJack 2020-10-13 05:50:31 +01:00
parent 763578a3cf
commit 3241f4b32e

View File

@ -986,6 +986,8 @@ upgrade_pterodactyl_1.0(){
cd /var/www/pterodactyl cd /var/www/pterodactyl
php artisan down php artisan down
curl -L https://github.com/pterodactyl/panel/releases/download/v1.0.1/panel.tar.gz | tar --strip-components=1 -xzv curl -L https://github.com/pterodactyl/panel/releases/download/v1.0.1/panel.tar.gz | tar --strip-components=1 -xzv
rm -rf $(find app public resources -depth | head -n -1 | grep -Fv "$(tar -tf panel.tar.gz)")
tar -xzvf panel.tar.gz && rm -f panel.tar.gz
chmod -R 755 storage/* bootstrap/cache chmod -R 755 storage/* bootstrap/cache
composer install --no-dev --optimize-autoloader composer install --no-dev --optimize-autoloader
php artisan view:clear php artisan view:clear