update: shell

This commit is contained in:
tokumeikoi
2022-05-09 01:45:33 +08:00
parent e72d28e2b3
commit d74ab728fe
4 changed files with 19 additions and 1 deletions

View File

@ -1,6 +1,12 @@
#!/bin/bash
git fetch --all && git reset --hard origin/master && git pull origin master
rm -rf composer.lock composer.phar
wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar
php composer.phar update -vvv
php artisan v2board:update
php artisan config:cache
if [ -f "/etc/init.d/bt" ]; then
chmod -R www $(PWD);
fi