forked from ungleich-public/cdist-contrib
[matrix-synapse] Fix typo in $os
matches.
This commit is contained in:
parent
5102fe466e
commit
2ce8223fa7
1 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# OS-specific configuration.
|
# OS-specific configuration.
|
||||||
os=$(cat "$__global/explorer/os")
|
os=$(cat "${__global:?}/explorer/os")
|
||||||
|
|
||||||
case "$os" in
|
case "$os" in
|
||||||
debian)
|
debian)
|
||||||
|
@ -56,7 +56,7 @@ esac
|
||||||
# Small helper used to get boolean values which can be used as-is in the
|
# Small helper used to get boolean values which can be used as-is in the
|
||||||
# configuration template.
|
# configuration template.
|
||||||
get_boolean_for () {
|
get_boolean_for () {
|
||||||
if [ -f "$__object/parameter/${1:?}" ]; then
|
if [ -f "${__object:?}/parameter/${1:?}" ]; then
|
||||||
echo 'true'
|
echo 'true'
|
||||||
else
|
else
|
||||||
echo 'false'
|
echo 'false'
|
||||||
|
@ -293,7 +293,7 @@ esac
|
||||||
|
|
||||||
# Install OS packages. We have a bit of boilerplate to handle the debian case.
|
# Install OS packages. We have a bit of boilerplate to handle the debian case.
|
||||||
synapse_req=
|
synapse_req=
|
||||||
if [ "$os" = "Debian" ]; then
|
if [ "$os" = "debian" ]; then
|
||||||
require="__apt_source/matrix-org" __package_apt "$synapse_pkg"
|
require="__apt_source/matrix-org" __package_apt "$synapse_pkg"
|
||||||
synapse_req="__package_apt/$synapse_pkg"
|
synapse_req="__package_apt/$synapse_pkg"
|
||||||
else
|
else
|
||||||
|
@ -302,7 +302,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$ENABLE_LDAP_AUTH" ]; then
|
if [ -n "$ENABLE_LDAP_AUTH" ]; then
|
||||||
if [ "$os" = "Debian" ]; then
|
if [ "$os" = "debian" ]; then
|
||||||
require="__apt_source/matrix-org" __package_apt "$ldap_auth_provider_pkg"
|
require="__apt_source/matrix-org" __package_apt "$ldap_auth_provider_pkg"
|
||||||
else
|
else
|
||||||
__package "$ldap_auth_provider_pkg"
|
__package "$ldap_auth_provider_pkg"
|
||||||
|
|
Loading…
Reference in a new issue