baikal: fall back to composer update when lock doesn't match (#16625)

This commit is contained in:
CanbiZ (MickLesk)
2026-08-20 14:27:41 +02:00
committed by GitHub
parent b93c3b9dae
commit 7c1e07123a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ function update_script() {
msg_info "Configuring Baikal"
cd /opt/baikal
$STD composer install
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
msg_ok "Configured Baikal"
msg_info "Starting Service"
+1 -1
View File
@@ -25,7 +25,7 @@ PG_DB_NAME="baikal_db" PG_DB_USER="baikal_user" PG_DB_PASS="$(openssl rand -base
msg_info "Configuring Baikal"
cd /opt/baikal
$STD composer install
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
cat <<EOF >/opt/baikal/config/baikal.yaml
database:
backend: pgsql