Re: dpkg hooks (was Re: Upgrade report from "bo" to "hamm")
- To: Dan Jacobowitz <drow@false.org>
- Cc: debian-devel@lists.debian.org
- Subject: Re: dpkg hooks (was Re: Upgrade report from "bo" to "hamm")
- From: Manoj Srivastava <srivasta@datasync.com>
- Date: 01 Jul 1998 14:27:30 -0500
- Message-id: <[🔎] 87u351fk2l.fsf@tiamat.datasync.com>
- In-reply-to: Dan Jacobowitz's message of "Wed, 1 Jul 1998 14:14:30 -0400"
- References: <19980623104102.H19848@molec3.dfis.ull.es> <873ecwq9ao.fsf@localhost.zdv.uni-mainz.de> <19980623162916.A17691@abcinternet.net> <oag1gozi5t.fsf@burrito.fake> <87g1gohrrs.fsf@tiamat.datasync.com> <87ra0795le.fsf@nevermore.csres.utexas.edu> <oa67hirgvn.fsf_-_@burrito.fake> <87lnqeagyf.fsf@nevermore.csres.utexas.edu> <19980630203839.A824@abcinternet.net> <87n2au1h9m.fsf@nevermore.csres.utexas.edu> <[🔎] 19980701141430.A26089@abcinternet.net>
Hi,
>>"Dan" == Dan Jacobowitz <drow@false.org> writes:
Dan> I thought that you described two separate sets of hooks, an
Dan> after-all-packages-configured and an after-specific-package-configured.
Dan> If I misunderstood you, I'm suggesting it :)
Actually, I had suggested a whole plethora o hooks
a) before each package is un packed
b) after unpacking
c) if there was an error unpacking
d) Before configuration of package
e) after configuration of package
f) before removing package
g) after removing package
....
....
m) after all packages have been unpacked
n) after all packages have been configured
Essentially, whenever dpkg currently run a script, I want to
replace that by a hook being run, with the hooks defaulting to the
current behaviour
People have wondered in the past if old buggy postrm scripts
can be removed. Now, we can just remove-hook old buggy scripts, as we
wish ;-)
The mechanism is almost frighteneing in its power ;-)
manoj
--
"Jesus died for somebody's sins, but not mine." Patti Smith
Manoj Srivastava <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: