diff --git a/scripts/upgrade b/scripts/upgrade index ee5229d..5acdb8b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -48,6 +48,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" + chown -R $app:www-data "$install_dir" ynh_script_progression --message="Installing NodeJS..." --weight=20