Trunk rubber seal

Ok I seen some pictures of the rubber being glued on the lower deck two different ways. Which of the two is correct?

C6CBAB5F-4846-4472-8874-A6E58189244B.jpeg

BABB3EA5-A27E-4E35-8A2C-F7E0966303EB.jpeg