Re: Share code between install-time script and trigger?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Toralf Lund <toralf@xxxxxxxxxxxxxx> wrote:

> I've often found myself in the situation where I
> need a "triggerpostun" 
> that does excatly the same as "post" 
I face the same problem and solve it as following:

- put "shared" command in the separate file
- instead .spec file write .spec.in file and
  write "include my_file" in appropiative places
- use /script/awk/sed/whatsoever to process .spec.in
into spec

Valery


	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux