diff --git a/scripts/upgrade b/scripts/upgrade index 282a0dd..54a18de 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" --keep="backend/development.ini frontend/configEnv.json" +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="backend/development.ini frontend/configEnv.json" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"