SCIENTIFIC-LINUX-USERS Archives

November 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Wed, 10 Nov 2004 08:24:28 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Hi Stephan,
Very good idea.  Done.
And by done, I mean ... it was already in there. :)
Troy
p.s. rpm -q --scripts <rpm> doesn't show the triggers.
You need to do a rpm -q --triggers <rpm>
p.p.s. But thanks for checking that.  If I hadn't have already put that in
there, that would have been something I would have needed to change.

Stephan Wiesand wrote:
> Hi Troy,
>
>> Give it a try, see how you like it.
>
>
> I like it :)
>
> But since the rpm RPM hasn't marked /usr/lib/rpm/macros as a %config file,
> an update of rpm will revert this change.
>
> Putting the commands into "%triggerin -- rpm" instead of "%post" should
> fix this (and yes, it would even work if rpm is installed before
> SL_rpm_show_arch).
>
> Cheers,
>        Stephan
>
--
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2