On Mon, 24 May 2010, Raphael Hertzog wrote:
> > Based on my reading of dpkg-maintscript-helper, if a version of ""
> > is specified, since it uses le-nl to compare versions, it will
> > always run the action, and should handle these cases.
> 
> I used le-nl so that $2 le-nl "<version>" would evaluate to true when $2
> is empty (case of $1 == "install").

Correction: would evaluate to false when $2 is empty (case of initial
install) but would evaluate as usual when $2 is not empty (upgrade or
install after removal without purge).

Cheers,
-- 
Raphaƫl Hertzog

Like what I do? Sponsor me: http://ouaza.com/wp/2010/01/05/5-years-of-freexian/
My Debian goals: http://ouaza.com/wp/2010/01/09/debian-related-goals-for-2010/



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to