Update update-web-panel.sh
This commit is contained in:
parent
c981f5a4bf
commit
ac1db61d8b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue