Re: postinst: how to do something only if upgrading
James Troup <J.J.Troup@scm.brad.ac.uk> wrote:
: Look at chapter 6 of the packaging manual, e.g.
: | * postinst configure most-recently-configured-version
: So you can check the values of $1 and $2 to determine if you need to
: ask the question. If the package has not been configured before $2
: will be null.
Uhhmmm, this looks like the answer I was looking for. Thanks!
Eloy A. Paris
Information Technology Department
Rockwell Automation de Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org