mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
13 lines
364 B
Bash
Executable File
13 lines
364 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
|
|
php artisan config:cache
|
|
|
|
if [ -f "/etc/init.d/bt" ]; then
|
|
chmod -R www $(PWD);
|
|
fi
|