Fix upgrad: adding patch
This commit is contained in:
parent
df703769fa
commit
d8266e9041
@ -130,7 +130,14 @@ ynh_print_info "Reconfigure php-fpm"
|
|||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP
|
# 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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
chown -R "$app":"$app" "$final_path"
|
chown -R "$app":"$app" "$final_path"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user