Re: How to obtain current package version number?
I demand that Colin Watson may or may not have written...
> On Tue, Mar 04, 2003 at 11:52:09PM +0100, Marc Haber wrote:
>> On Tue, 4 Mar 2003 16:41:48 +0000, Colin Watson <cjwatson@debian.org>
>> wrote:
>>> Why not just preprocess the postinst in debian/rules to embed its own
>>> version number directly into it?
>> Nice idea, thanks!
>> Is an executeable script (for example an init script) allowed to parse
>> /var/lib/dpkg/info/$PACKAGE.postinst?
> No - but you could do the same preprocessing for the init script, couldn't
> you?
How would you handle the case where the init script has been locally
modified?
--
| Darren Salt | nr. Ashington, | linux (or ds) at
| Debian woody, | Northumberland | youmustbejoking
| RISC OS | Toon Army | demon co uk
| This space reserved for future expansion
The following statement is not true.
Reply to: