v2board/init.sh
2022-05-09 01:45:33 +08:00

11 lines
251 B
Bash

#!/bin/bash
rm -rf composer.phar
wget https://github.com/composer/composer/releases/latest/download/composer.phar -O composer.phar
php composer.phar install -vvv
php artisan v2board:install
if [ -f "/etc/init.d/bt" ]; then
chmod -R www $(PWD);
fi