File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function update_script() {
5454 chown -R www-data: " /opt/2fauth"
5555 chmod -R 755 " /opt/2fauth"
5656 export COMPOSER_ALLOW_SUPERUSER=1
57- $STD composer install --no-dev --prefer-source
57+ $STD composer install --no-dev --prefer-dist
5858 php artisan 2fauth:install
5959 $STD systemctl restart nginx
6060
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ sed -i -e "s|^APP_URL=.*|APP_URL=http://$IPADDRESS|" \
5353 -e " s|^DB_PASSWORD=$|DB_PASSWORD=$DB_PASS |" .env
5454export COMPOSER_ALLOW_SUPERUSER=1
5555$STD composer update --no-plugins --no-scripts
56- $STD composer install --no-dev --prefer-source --no-plugins --no-scripts
56+ $STD composer install --no-dev --prefer-dist --no-plugins --no-scripts
5757$STD php artisan key:generate --force
5858$STD php artisan migrate:refresh
5959$STD php artisan passport:install -q -n
You can’t perform that action at this time.
0 commit comments