Re: postinst howto q's

1998-05-20 Thread Jaldhar H. Vyas
On 18 May 1998, Manoj Srivastava wrote: > Hi, > Igor has already pointed out the the md5sum and non-confile > postinst-handled file solutions. > > As to the ugly hack of trying to call dpkg -l in the middle of > a dpkg run, that may not be feasible since dpkg tries very hard to >

Re: postinst howto q's

1998-05-20 Thread Jaldhar H. Vyas
On Mon, 18 May 1998, Igor Grobman wrote: > Well, you could compare the md5sums, but that's not what you want to do... > In > your case, it's better not to include the conffile in the package, but > instead > create it in the postinst. You should probably separate the config-file > creatio

Re: postinst howto q's

1998-05-18 Thread Manoj Srivastava
Hi, Igor has already pointed out the the md5sum and non-confile postinst-handled file solutions. As to the ugly hack of trying to call dpkg -l in the middle of a dpkg run, that may not be feasible since dpkg tries very hard to serialize access to its state files. The b

Re: postinst howto q's

1998-05-18 Thread Igor Grobman
Some time around Mon, 18 May 1998 14:02:32 EDT, "Jaldhar H. Vyas" wrote: > > I'm preparing a new release of my pppupd package and I want to correct > some things which though not harmful are annoying. > > pppupd ships with a conffile which needs to be customized for each > indivi

postinst howto q's

1998-05-18 Thread Jaldhar H. Vyas
I'm preparing a new release of my pppupd package and I want to correct some things which though not harmful are annoying. pppupd ships with a conffile which needs to be customized for each individual installation so I ask some questions in the postinst. However if a person is upgrading from a pr