From 3cc81cf1d003937cc7caa044bd307aae83927a79 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Tue, 19 Feb 2019 11:42:47 +0100 Subject: [PATCH] Remove fix readdirAsync --- scripts/install | 7 ------- scripts/upgrade | 9 --------- 2 files changed, 16 deletions(-) diff --git a/scripts/install b/scripts/install index 9bf9226..747d746 100644 --- a/scripts/install +++ b/scripts/install @@ -188,13 +188,6 @@ ynh_print_info "Configuring php-fpm ..." mkdir -p "/var/log/$app" chown -R "$app":"$app" "/var/log/$app" -#================================================= -# PATCH fs.readdirAsync error -#================================================= - -ynh_replace_string "fs.readdirAsync" "fs.readdirSync" "$final_path/server/db/migrator-source.js" -ynh_replace_string "fs.readdirAsync" "fs.readdirSync" "$final_path/server/jobs/purge-uploads.js" - #================================================= # MAKE SETUP #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 2f1cbdd..d7049c9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,15 +127,6 @@ ynh_print_info "Upgrading php-fpm configuration..." # Create a dedicated php-fpm config #ynh_add_fpm_config -#================================================= -# SPECIFIC UPGRADE -#================================================= -# PATCH fs.readdirAsync error -#================================================= - -ynh_replace_string "fs.readdirAsync" "fs.readdirSync" "$final_path/server/db/migrator-source.js" -ynh_replace_string "fs.readdirAsync" "fs.readdirSync" "$final_path/server/jobs/purge-uploads.js" - #================================================= # MAKE SETUP #=================================================