diff --git a/scripts/upgrade b/scripts/upgrade index d710d77..46211b6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,12 +40,12 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir/build" + ynh_setup_source --dest_dir="$install_dir/build" --full_replace=1 fi # $install_dir will automatically be initialized with some decent # permission by default ... however, you may need to recursively reapply -# ownership to all files such as after the ynh_setup_source step +# ownership to all files such as after the ynh_setup_source step --full_replace=1 chown -R $app:www-data "$install_dir" #=================================================