Mailinglist Archive: opensuse-buildservice (239 mails)

< Previous Next >
Re: [opensuse-buildservice] perhaps OT spec file question
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Wed, 27 May 2009 12:58:21 +0200
  • Message-id: <4A1D1CCD.5050308@xxxxxxxxxxxxxxxx>
Lars Müller schrieb:
You have to store the information in the filesystem. Do something like

echo "${pre_version}" >/var/adm/rpm_updates_are_sometimes_a_source_of_big_pain

from inside %pre and source this file later in %post to check your

You can't even use mktemp (1) cause there is no way to transport the
given name from %pre to %post.
Yes, this is the way I'm currently using.
Just thought there is a more comfortable way of doing it.

Thanks for your response

Please ensure your knees are bullet proofed! ;)
Hope so ;)

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >