Update update-web-panel.sh

This commit is contained in:
Bozhidar Slaveykov 2024-04-07 14:18:04 +03:00
parent c981f5a4bf
commit ac1db61d8b

View file

@ -31,6 +31,8 @@ cp -r /usr/local/phyre/update/web-panel-latest/lang /usr/local/phyre/web/lang
cp -r /usr/local/phyre/update/web-panel-latest/Modules /usr/local/phyre/web/Modules cp -r /usr/local/phyre/update/web-panel-latest/Modules /usr/local/phyre/web/Modules
cp -r /usr/local/phyre/update/web-panel-latest/thirdparty /usr/local/phyre/web/thirdparty cp -r /usr/local/phyre/update/web-panel-latest/thirdparty /usr/local/phyre/web/thirdparty
cp -r /usr/local/phyre/update/web-panel-latest/db-migrate.sh /usr/local/phyre/web/db-migrate.sh
chmod +x /usr/local/phyre/web/db-migrate.sh
cd /usr/local/phyre/web cd /usr/local/phyre/web
@ -45,7 +47,7 @@ $PHYRE_PHP -r "unlink('composer-setup.php');"
rm -rf composer.lock rm -rf composer.lock
COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar i --no-interaction --no-progress COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar i --no-interaction --no-progress
COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar dump-autoload --no-interaction --no-progress COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP composer.phar dump-autoload --no-interaction
chmod +x ./db-migrate.sh chmod +x ./db-migrate.sh