The installation structure is different from the one that has been present since CM12.xx.
It has a system similar to what was used until the CM11.xx
That is: it does not use the scheme to flash by block image update the system images "system.new.dat" and "system.patch.dat". The script does the installation by package extracting dir "system folder", creates the symlinks, flashes the kernel (boot.img) and, it seems that it is trying to apply a patch to the recovery that is installed. I think it is plausible to install LineageOS Official ROM with CM recovery (suggested by vm03) already installed.
Obviously, this patch is not appropriate for TWRP. And, it may be the cause of the "DBI error" pink screen.
I believe that this mode by package extract dir of "system folder" makes it easier to customize ROMs based on LineageOS.
I just analyzed it and did a comparison.
I have not installed it yet.
I will analyze some more versions still.
I always had in mind the attitude of doing the first tests when the list of bugs between versions begins to reduce.