Subject: RE: [hackers-il] Running a script whenever a particular RPM is in stalled

From: Omer Musaev <[email-masked]>
Date: Thu, 16 May 2002 12:36:00 +0300

> -----Original Message-----
> From: Shlomi Fish [mailto:[email-masked]]
> Sent: Thursday, May 16, 2002 10:28 AM
> To: Hackers-IL
> Subject: [hackers-il] Running a script whenever a particular RPM is
> installed
> 
> 
> 
> Hi!
> 
> I'm using Mandrake Linux 8.2 with RPM 4.0.3. I'd like a 
> certain script to
> run whenever a particular RPM is installed, whether from by the rpm
> command, by urpmi, by rpmdrake, or by the upgrade CD. I need 
> this because
> I don't like some of the default gvim settings and have to modify them
> manually every time.
> 
> I could put it in my rc.d scripts, but would rather have 
> something more
> modular.
> 

Use rpm triggers.

http://www.rpm.org/support/RPM-Changes-6.html

> Regards,
> 	Shlomi Fish