On 2018-03-16 00:51, Dominique Leuenberger / DimStar wrote:
On Fri, 2018-03-16 at 00:35 +1000, Konstantin Voinov wrote:
On 2018-03-15 23:59, Thorsten Kukuk wrote:
On Thu, Mar 15, Konstantin Voinov wrote:
I don't understate how it may helps. It's rpm-macros and proceeds with every rpm command.
I suggest to read the macros, it does not proceed with every rpm command, it's a proper implemented posttrans.
Still don't get. rpm can read install/update packages stack (if it is a stack, does zypper puts it?) and macros will run one time only if there similar commands in rpm?
If packagers do the right thing, yes.
You have %pre/%post which run before/after the respective package has been installed
then there is %pretrans/%posttrans - which runs ones for an entire transaction, which is 'one zypper call' (or rpm -i file1.rpm file2.rpm - the two together will form a transaction)
Cheers Dominique
I see (and I read the scripts). Thanks to all for explanation. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org