[__jitsi_meet]: Fix deprecated usage of __debconf_set_selections.

Replace the --file parameter with the --line parameter, as recommended
since cdist 6.9.6.
This commit is contained in:
sparrowhawk 2022-03-14 15:30:11 +01:00
parent a1b3a034c7
commit a6f6a7fba8
No known key found for this signature in database
GPG key ID: 6778C9C29C02D691

View file

@ -51,9 +51,7 @@ export require="${require} __apt_source/jitsi_meet __apt_update_index"
# Pre-feed debconf settings, so Jitsi's installation has a good config # Pre-feed debconf settings, so Jitsi's installation has a good config
# shellcheck source=type/__jitsi_meet/files/debconf_settings.sh # shellcheck source=type/__jitsi_meet/files/debconf_settings.sh
. "${__type}/files/debconf_settings.sh" # This defines DEBCONF_SETTINGS . "${__type}/files/debconf_settings.sh" # This defines DEBCONF_SETTINGS
__debconf_set_selections jitsi_meet --file - <<EOF __debconf_set_selections jitsi_meet --line "${DEBCONF_SETTINGS}"
${DEBCONF_SETTINGS}
EOF
export require="${require} __debconf_set_selections/jitsi_meet" export require="${require} __debconf_set_selections/jitsi_meet"
# Install and upgrade packages as needed # Install and upgrade packages as needed