fix: skip missing taler-merchant-webui on ubuntu noble
This commit is contained in:
parent
7230269e57
commit
e293ff4604
1 changed files with 7 additions and 8 deletions
|
|
@ -168,14 +168,13 @@ Types: deb
|
||||||
URIs: ${URI_BASE}
|
URIs: ${URI_BASE}
|
||||||
EOF
|
EOF
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get install -y \
|
# noble (ubuntu) has no taler-merchant-webui; install if present
|
||||||
taler-merchant \
|
pkgs='taler-merchant taler-merchant-typst taler-terms-generator postgresql s-nail jq'
|
||||||
taler-merchant-typst \
|
if apt-cache show taler-merchant-webui >/dev/null 2>&1; then
|
||||||
taler-merchant-webui \
|
pkgs=\"\$pkgs taler-merchant-webui\"
|
||||||
taler-terms-generator \
|
fi
|
||||||
postgresql \
|
# shellcheck disable=SC2086
|
||||||
s-nail \
|
apt-get install -y \$pkgs
|
||||||
jq
|
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue