mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Use ynh_return instead of echo
Co-Authored-By: Kayou <pierre.moltess@gmail.com>
This commit is contained in:
parent
78ddcb1703
commit
36d89e888d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ is_public=$(ynh_app_setting_get --app $app --key is_public)
|
||||||
show_config() {
|
show_config() {
|
||||||
# here you are supposed to read some config file/database/other then print the values
|
# here you are supposed to read some config file/database/other then print the values
|
||||||
# echo "YNH_CONFIG_${PANEL_ID}_${SECTION_ID}_${OPTION_ID}=value"
|
# echo "YNH_CONFIG_${PANEL_ID}_${SECTION_ID}_${OPTION_ID}=value"
|
||||||
echo "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_SERVER_STATISTICS=$report_stats" >> $YNH_STDRETURN
|
ynh_return "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_SERVER_STATISTICS=$report_stats"
|
||||||
echo "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_ALLOW_PUBLIC_ROOMS=$allow_public_rooms" >> $YNH_STDRETURN
|
echo "YNH_CONFIG_SYNAPSE_CONFIG_SERVER_CONFIG_ALLOW_PUBLIC_ROOMS=$allow_public_rooms" >> $YNH_STDRETURN
|
||||||
|
|
||||||
if [[ ${backup_before_upgrade:-0} -eq 1 ]]
|
if [[ ${backup_before_upgrade:-0} -eq 1 ]]
|
||||||
|
|
Loading…
Reference in a new issue