Dnia sobota, 19 stycznia 2013 16:36:12 Yamaban pisze:
On Sat, 19 Jan 2013 16:08, Alex Naumov <alexander_naumov@...> wrote:
On Sat, Jan 19, 2013 12:26, Alex Naumov <alexander_naumov@...> wrote:
On Sat, Jan 19, 2013 10:47, Krzysztof Żelechowski <giecrilj@...> wrote:
Dnia piątek, 18 stycznia 2013 22:02:55 Alex Naumov pisze:
On Sun, Jan 13, 2013 12:40, Matwey V. Kornilov <matwey.kornilov@...> wrote:
OBS may run %post during checks after the actual build.
Is the way to say OBS "forget about this code and don't run it. I will care about it" ?
%if 0 this code %endif
Thank you very much! That's exactly what I need.
Oh... it was a bit premature. OBS did not show this echo-string (that I added to $post as example), but during installation it was also not there...
Well, a bit of logic says the line 'this code' will NEVER EVER be executed.
No, there should be an other way around the issue. Perhaps an environment variable that only exits inside OBS, and check for that in your %post script(-let)?
I'm no rpm / obs guru, but they should exist around here, ne?
Ne. OBS needs to make sure the package is installed correctly on the customer’s machine, that means it must install the package exactly the same way; otherwise its evaluation would be meaningless. IMHO, Chris -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org