
Olaf Hering <olaf@aepfle.de> writes:
Am Wed, 16 Dec 2020 10:50:47 +0100 schrieb Dan Čermák <dcermak@suse.com>:
first %transfiletriggerun are run, then %posttrans, then %transfiletriggerpostun and at last %transfiletriggerin.
If that is true, %posttrans could do the 'mv', and '%transfiletriggerin' does the 'restart'?
We could if zypper would allow to have %posttrans and %transfiletriggerin, but it will not execute the transaction file trigger in the presence a %posttrans. Ordinary file triggers will probably not work here as they are afaik run as part of the rpm transaction. Cheers, Dan -- Dan Čermák <dcermak@suse.com> Software Engineer Development tools SUSE Software Solutions Germany GmbH Maxfeldstr. 5 90409 Nuremberg Germany (HRB 36809, AG Nürnberg) Managing Director: Felix Imendörffer