On Mon, Jun 18, 2018 at 03:28:17PM -0500, Jason L Tibbitts III wrote:
> >>>>> "ZJ" == Zbigniew Jędrzejewski-Szmek <zbys...@in.waw.pl> writes:
> 
> ZJ> It's either %include or a fairly big copy&paste. The first solution
> ZJ> is awkward, and the second one is ... awkward. But yeah, maybe we
> ZJ> should bite the bullet and do the copy&paste. A bit sad.
> 
> It shouldn't be that bad.  The body of the scriptlet shouldn't be large.
> If it is, then put it in its own, install that, and have the scriptlet
> call it.

That's not an attractive option, because there's so many of them.
Also, the scriptlets are (were, it's a longer story) in lua, executed
inline. Moving that out to a separate file would break that.
See https://github.com/systemd/systemd/blob/master/src/core/triggers.systemd.in.

> I went to look at why the scriptlets are so large, but of course I'm
> looking at the spec tarball and so all I can see is %include %{SOURCE1}.
> Oh, well.

Zbyszek
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/VIOG5TPLK6V3ITDNJLAPGJJDGPZJBLEZ/

Reply via email to