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 #=================================================