1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jitsi_ynh.git synced 2024-09-03 19:35:57 +02:00

fix upgrade undef var

This commit is contained in:
Salamandar 2024-01-18 20:10:57 +01:00
parent 89c0b895ee
commit 7dac3fa399

View file

@ -25,7 +25,7 @@ ynh_systemd_action --service_name="$app-jicofo" --action="stop" --log_path="/var
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1 ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
# If max_memory doesn't exist, create it and set to default 75 mb value # If max_memory doesn't exist, create it and set to default 75 mb value
if [ -z "$max_memory" ]; then if [ -z "${max_memory:-}" ]; then
max_memory=200 max_memory=200
ynh_app_setting_set --app="$app" --key=max_memory --value="$max_memory" ynh_app_setting_set --app="$app" --key=max_memory --value="$max_memory"
fi fi