ig this is an extension of the question but will the angelic eneties from the books care for piracy since Thou shalt not steal
Interesting question. I think that such entities would not have that much problem with the pirated book, because the author published his work to the public anyway. Sometimes piracy is the only way you can get to the knowledge in the books so those beings might even be the ones guiding you to the book for you to use. It would only be literal stealing if the author had only his own copy for himself and someone took it.
Also when speaking about stealing secret material and protection curses, what about the books of the authors that are already dead?
To the main question, it depends. If your will is strong, you can overcome the curse if it is there, but curse made public can work many ways both against you and for you, making text kind of forbitten and therefore even more "juicy."
If the curse is in secret, it might even really work, but every curse can be lifted. If it is spoken about loud, it's rather only psychological and might be even intended to raise selling.
It is little out of context, but I remember one version of the bible, that was lacking something, not in the text but some appendixes or what is it. Because of that the version was not approved by clergy, but feeling of it being forbitten caused that it sold out.