mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
Apply suggestions from code review
Co-Authored-By: Kayou <pierre@kayou.io>
This commit is contained in:
parent
43d0f4f66b
commit
daa1ba1975
1 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ apply_config() {
|
||||||
popd
|
popd
|
||||||
chown -R $app: $final_path/node_modules
|
chown -R $app: $final_path/node_modules
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=mypads --value="$mypads"
|
ynh_app_setting_set --app=$app --key=mypads --value="$mypads"
|
||||||
|
|
||||||
restart_etherpad=1
|
restart_etherpad=1
|
||||||
fi
|
fi
|
||||||
|
@ -286,7 +286,7 @@ apply_config() {
|
||||||
ynh_replace_string --match_string="\(.*\) //useldap" --replace_string="//noldap\1" --target_file="$final_path/settings.json"
|
ynh_replace_string --match_string="\(.*\) //useldap" --replace_string="//noldap\1" --target_file="$final_path/settings.json"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=useldap --value="$useldap"
|
ynh_app_setting_set --app=$app --key=useldap --value="$useldap"
|
||||||
|
|
||||||
restart_etherpad=1
|
restart_etherpad=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue