[Yum] package specific scripts
garrick at usc.edu
Fri Jan 9 17:28:49 UTC 2004
On Fri, Jan 09, 2004 at 10:18:24AM +0100, Farkas Levente alleged:
> it'd be very useful if I can assign some package post (or pre) install
> script in yum. eg if I update kerenl (which is getting more and more
> frequent nowadays in fedora) I always have to run:
> export CC=/usr/bin/gcc32; vmware-config.pl
> and in most case it run without any problem. but it'd be much easier if
> it happend during the night when yum update runs, and if only there are
> some problem, than I have to do it manualy.
I imagine the "rpm correct" method of doing this is to have a vmware rpm that
is triggered from the kernel package.
In your vmware rpm:
%triggerin -- kernel, kernel-smp
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum/attachments/20040109/9fa0a672/attachment-0001.pgp
More information about the Yum