1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

Remove fix readdirAsync

This commit is contained in:
yalh76 2019-02-19 11:42:47 +01:00
parent 837d04ec86
commit 3cc81cf1d0
2 changed files with 0 additions and 16 deletions

View file

@ -188,13 +188,6 @@ ynh_print_info "Configuring php-fpm ..."
mkdir -p "/var/log/$app" mkdir -p "/var/log/$app"
chown -R "$app":"$app" "/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 # MAKE SETUP
#================================================= #=================================================

View file

@ -127,15 +127,6 @@ ynh_print_info "Upgrading php-fpm configuration..."
# Create a dedicated php-fpm config # Create a dedicated php-fpm config
#ynh_add_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 # MAKE SETUP
#================================================= #=================================================