mirror of
https://github.com/tommytran732/Pterodactyl-Script
synced 2024-11-22 10:31:34 -05:00
Fix 0.7 upgrade to 1.0
This commit is contained in:
parent
763578a3cf
commit
3241f4b32e
@ -986,6 +986,8 @@ upgrade_pterodactyl_1.0(){
|
||||
cd /var/www/pterodactyl
|
||||
php artisan down
|
||||
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
|
||||
composer install --no-dev --optimize-autoloader
|
||||
php artisan view:clear
|
||||
|
Loading…
Reference in New Issue
Block a user