Funnily enough mate I did buy a roll of brake pipe and the end bits because I had the same thought
Myself I'm fairly clueless when it comes to mechanics, it's a mate does all the fiddling with it for me and his reasoning was that the pipes are fine because the brakes bleed ok
It is only the front brakes affected, if that makes any difference