Compare commits

...

2 Commits

Author SHA1 Message Date
Tobias
56861a5a64 Change composer install option from prefer-source to prefer-dist 2025-11-15 16:10:18 +01:00
Tobias
0c31e30b5b chore: update composer command 2025-11-15 16:08:46 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ function update_script() {
chown -R www-data: "/opt/2fauth"
chmod -R 755 "/opt/2fauth"
export COMPOSER_ALLOW_SUPERUSER=1
$STD composer install --no-dev --prefer-source
$STD composer install --no-dev --prefer-dist
php artisan 2fauth:install
$STD systemctl restart nginx

View File

@@ -53,7 +53,7 @@ sed -i -e "s|^APP_URL=.*|APP_URL=http://$IPADDRESS|" \
-e "s|^DB_PASSWORD=$|DB_PASSWORD=$DB_PASS|" .env
export COMPOSER_ALLOW_SUPERUSER=1
$STD composer update --no-plugins --no-scripts
$STD composer install --no-dev --prefer-source --no-plugins --no-scripts
$STD composer install --no-dev --prefer-dist --no-plugins --no-scripts
$STD php artisan key:generate --force
$STD php artisan migrate:refresh
$STD php artisan passport:install -q -n