On Thu, 10 May 2012, David Weinehall wrote:
> On Wed, May 09, 2012 at 03:47:21PM +0200, Gergely Nagy wrote:
> > Such a tool would certainly be very useful, but doing it right would be
> > fairly hard, as far as I see.
> > 
> > And it would require assistance from at least the package maintainer, to
> > mark in which versions the unit file under /lib changed, so that it can
> > trigger only when appropriate and not on every upgrade.
> > 
> > (And there's possibly other corner cases to consider, but they escape me
> > right now..)
> 
> if [ <file in etc> -ot <file in /lib> ]; then
>       <warn user that updates might be needed
> fi

That's not enough. The timestamp of the file in a package is unrelated
to the time of its last installation.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120510184745.ge8...@rivendell.home.ouaza.com

Reply via email to