Change composer install option from prefer-source to prefer-dist

This commit is contained in:
Tobias
2025-11-15 16:10:18 +01:00
committed by GitHub
parent 0c31e30b5b
commit 56861a5a64

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