mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-28 17:48:34 +01:00
Baikal: let composer install the twig version Baikal pins (#19147)
Baikal requires twig/twig ~3.27.1 and every 3.27 release has an advisory, so composer's advisory blocking refused to resolve the release at all (10 failed installs in two days).
This commit is contained in:
committed by
GitHub
parent
97d88e53e4
commit
b0c0609e0c
@@ -47,6 +47,7 @@ function update_script() {
|
||||
|
||||
msg_info "Configuring Baikal"
|
||||
cd /opt/baikal
|
||||
export COMPOSER_NO_SECURITY_BLOCKING=1
|
||||
$STD composer install || { msg_warn "composer.lock doesn't match composer.json (known upstream packaging issue) - regenerating"; $STD composer update; }
|
||||
msg_ok "Configured Baikal"
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ PG_DB_NAME="baikal_db" PG_DB_USER="baikal_user" PG_DB_PASS="$(random_password 16
|
||||
|
||||
msg_info "Configuring Baikal"
|
||||
cd /opt/baikal
|
||||
export COMPOSER_NO_SECURITY_BLOCKING=1
|
||||
$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:
|
||||
|
||||
Reference in New Issue
Block a user