[Yum] package specific scripts

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

 



On Fri, Jan 09, 2004 at 10:18:24AM +0100, Farkas Levente alleged:
> hi,
> 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.
> yours.

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
CC=/usr/bin/gcc32; vmware-config.pl

-- 
Garrick Staples, Linux/HPCC Administrator
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20040109/9fa0a672/attachment.bin

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux