FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

LinkBack Thread Tools
Old 04-02-2008, 06:05 PM
Ian Jackson
Default triggers wishlist

Joey Hess writes ("triggers wishlist"):
> Things I want to see use triggers, in approximate priority order:

One thing I forgot to say yesterday:

If you do the triggerisation by modifying some dh_foobar-called script
called update-foobar, then you do not need to introduce a dependency
on the triggers-supporting dpkg.

Do as I do in my patch for initramfs-tools (#447611), and you can have
update-foobar do its stuff if the triggers are not supported. That
means you can upload your change now and not wait for the triggers
dpkg to make it into sid or lenny.

Of course you should test your change with the triggers dpkg or you'll
find that your scripts break when the new dpkg makes it into lenny.

(When reading the initramfs-tools patch, you can ditch or ignore the
test for DPKG_RUNNING_VERSION as you like, as that's only dealing with
some buggy early triggers support in an unreleased Ubuntu version.
Also please disregard the comments in the bug report which are not
really of any interest unless you happen to like getting distracted by
a discussion of the purpose of `x' in test "x$foo" = x and the like.)


To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Thread Tools

All times are GMT. The time now is 05:06 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org