v2board/init.sh
2022-05-10 14:16:04 +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
chown -R www $(pwd);
fi