v2board/update.sh
2022-12-15 15:53:25 +08:00

12 lines
339 B
Bash
Executable File

#!/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
if [ -f "/etc/init.d/bt" ]; then
chown -R www $(pwd);
fi