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

Re: automatic installation / hooks



On Tue, Jan 05, 1999 at 04:29:46AM +0100, Wichert Akkerman wrote:
 
> I'll try to find it again. The basic idea was that you could register
> certain files and directories with dpkg, and when that files was changes
> or a file was added/changed/removed from the directory dpkg would call a
> certain program. So you could do:
> 
> 	dpkg-add-hook /usr/lib/menu update-menus
> 
> And dpkg would call update-menus everytime a file in /usr/lib/menu was
> added/changed/removed.

I would like something like

$(QUEUE-COMMAND) update-menus

which would just register update-menus to be run after configuration is
complete. It is easy to do this in the postinst and it is more flexible than
the directory-changed method.

cu
    Torsten

Attachment: pgpfQqRBz6I2d.pgp
Description: PGP signature


Reply to: