On Wednesday 22 August 2007 12:37:19 Leo Antunes wrote:
> Perhaps make-googleearch-package could be run during postinst, if the
> user wishes?
>
> From what I've seen, there's no easy way of finding the version being
> downloaded (since the name of the package contains no version token),
> so there's no way to automatically determine if an update is necessary,
> but anyway a debconf question could be asked, easing the life of users
> that don't know what to do after they install googleearth-package.

This has been a feature others have suggested and I've thought of. There are 
a couple problems:

1) As you mention, there is no (easy) way to determine the upstream version.

2) You can't recursively call dpkg during a postinst script to install the 
generated package. Any way I can think of working around this is either 
against policy or would be very hackish.

3) I rather dislike debconf questions -- if this was added at all, it would 
need to be low-priority. But that means means that the "target audience" 
for this feature might not see it anyway, so I'm not sure this is a great 
idea.

But, I'd certainly accept a well-done patch for this feature, if there is 
someone out there that is itching to implement this. =)

-- 
Wesley J. Landaker <[EMAIL PROTECTED]> <xmpp:[EMAIL PROTECTED]>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to