1
0
Fork 0
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:
Maniack Crudelis 2020-04-29 17:13:58 +02:00 committed by GitHub
parent 43d0f4f66b
commit daa1ba1975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,7 +271,7 @@ apply_config() {
popd
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
fi
@ -286,7 +286,7 @@ apply_config() {
ynh_replace_string --match_string="\(.*\) //useldap" --replace_string="//noldap\1" --target_file="$final_path/settings.json"
fi
ynh_app_setting_set --app=$app --key=useldap --value="$useldap"
ynh_app_setting_set --app=$app --key=useldap --value="$useldap"
restart_etherpad=1
fi