fix: skip missing taler-merchant-webui on ubuntu noble

This commit is contained in:
Hernâni Marques 2026-09-05 09:06:41 +02:00
parent 7230269e57
commit e293ff4604
No known key found for this signature in database

View file

@ -168,14 +168,13 @@ Types: deb
URIs: ${URI_BASE}
EOF
apt-get update -qq
apt-get install -y \
taler-merchant \
taler-merchant-typst \
taler-merchant-webui \
taler-terms-generator \
postgresql \
s-nail \
jq
# noble (ubuntu) has no taler-merchant-webui; install if present
pkgs='taler-merchant taler-merchant-typst taler-terms-generator postgresql s-nail jq'
if apt-cache show taler-merchant-webui >/dev/null 2>&1; then
pkgs=\"\$pkgs taler-merchant-webui\"
fi
# shellcheck disable=SC2086
apt-get install -y \$pkgs
"
}