From b8d31a16062b833254376432ea3ece05dc31de9f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 24 Mar 2021 14:39:37 +0100 Subject: [PATCH] Fix --- scripts/actions/add_remove_abiword | 2 +- scripts/actions/add_remove_libreoffice | 2 +- scripts/config | 8 ++++---- scripts/remove | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/actions/add_remove_abiword b/scripts/actions/add_remove_abiword index 891ab94..24622ee 100755 --- a/scripts/actions/add_remove_abiword +++ b/scripts/actions/add_remove_abiword @@ -84,7 +84,7 @@ fi # Rebuild the meta package and install the new dependencies ( cd scripts # Move to scripts directory to allow the helper to find the manifest where it expects to find it. -ynh_install_app_dependencies $dependencies) +ynh_exec_warn_less ynh_install_app_dependencies $dependencies) # Remove all unused dependencies ynh_package_autopurge diff --git a/scripts/actions/add_remove_libreoffice b/scripts/actions/add_remove_libreoffice index 5335985..24bc7dd 100755 --- a/scripts/actions/add_remove_libreoffice +++ b/scripts/actions/add_remove_libreoffice @@ -84,7 +84,7 @@ fi # Rebuild the meta package and install the new dependencies ( cd scripts # Move to scripts directory to allow the helper to find the manifest where it expects to find it. -ynh_install_app_dependencies $dependencies) +ynh_exec_warn_less ynh_install_app_dependencies $dependencies) # Remove all unused dependencies ynh_package_autopurge diff --git a/scripts/config b/scripts/config index d814acc..41f406d 100644 --- a/scripts/config +++ b/scripts/config @@ -197,8 +197,8 @@ apply_config() { if [ "$pad_config_automatic_logout" != "$old_pad_config_automatic_logout" ] then ynh_use_nodejs - pushd "$final_path/src" - ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory + #pushd "$final_path/src" + #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" @@ -247,8 +247,8 @@ apply_config() { if [ "$mypads" != "$old_mypads" ] then ynh_use_nodejs - pushd "$final_path/src" - ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory + #pushd "$final_path/src" + #ynh_secure_remove --file="$final_path/src/package-lock.json" #added to fix saveError ENOENT: no such file or directory if [ "$mypads" = "1" ] then ynh_exec_as $app env "$ynh_node_load_PATH" npm install ep_mypads@${mypads_version} diff --git a/scripts/remove b/scripts/remove index 60f8e32..f7bf183 100755 --- a/scripts/remove +++ b/scripts/remove @@ -50,7 +50,7 @@ if [ "$export" != "none" ] then ynh_script_progression --message="Removing dependencies..." --weight=60 # Remove metapackage and its dependencies - ynh_remove_app_dependencies + ynh_exec_warn_less ynh_remove_app_dependencies fi #=================================================