Skip to content

Commit

Permalink
chore: remove unused files and optimize setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
xboard committed Jan 15, 2025
1 parent 149b75e commit 46f8b69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 63 deletions.
4 changes: 2 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ wget https://github.com/composer/composer/releases/latest/download/composer.phar
php composer.phar install -vvv
php artisan xboard:install

if [ -f "/etc/init.d/bt" ] || [ "$docker" ]; then
if [ -f "/etc/init.d/bt" ] || [ -f "/.dockerenv" ]; then
chown -R www:www $(pwd);
fi
fi
21 changes: 0 additions & 21 deletions server.php

This file was deleted.

38 changes: 0 additions & 38 deletions start.php

This file was deleted.

4 changes: 2 additions & 2 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ if ! command -v git &> /dev/null; then
fi

git config --global --add safe.directory $(pwd)
git fetch --all && git reset --hard origin/new && git pull origin new
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 xboard:update

if [ -f "/etc/init.d/bt" ] || [ "$docker" ]; then
if [ -f "/etc/init.d/bt" ] || [ -f "/.dockerenv" ]; then
chown -R www:www $(pwd);
fi

0 comments on commit 46f8b69

Please sign in to comment.