From 3d3fa0b1012f043ce8e213fb40852d9f5c838c00 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 22 Mar 2021 21:53:17 +0100 Subject: [PATCH] Update config --- scripts/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/config b/scripts/config index 747a464..4d7a27d 100644 --- a/scripts/config +++ b/scripts/config @@ -206,6 +206,7 @@ apply_config() { then ynh_use_nodejs pushd "$final_path" + ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory if [ "$pad_config_automatic_logout" = "0" ] then ynh_replace_string --match_string="^\(.*\"automatic_logut.*$\)" --replace_string="\/\/\1" --target_file="$config_file" @@ -255,6 +256,7 @@ apply_config() { then ynh_use_nodejs pushd "$final_path" + ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory if [ "$mypads" = "1" ] then npm install ep_mypads@${mypads_version} @@ -269,8 +271,8 @@ apply_config() { restart_etherpad=1 fi - # Ldap for Mypads - if [ "$useldap" != "$old_useldap" ] + # LDAP for MyPads + if [ "$useldap" != "$old_useldap" ] then if [ "$useldap" = "1" ] then