Re: How to obtain current package version number?
On Wed, 5 Mar 2003 11:25:07 +0100, Jeremie Koenig
<sprite@sprite.fr.eu.org> wrote:
>Well, there already have been a lot of suggestions, but why do you need
>to create the file at install time ? Can't you just generate it in
>debian/rules, and include it in the package ?
Because I don't find that approach very elegant, and it is also error
prone. Imagine a local user diverting the file that I use for package
version indication. The information which version is installed is
already there, in the dpkg database. I only need to be able to access
it.
Greetings
Marc
--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Karlsruhe, Germany | Beginning of Wisdom " | Fon: *49 721 966 32 15
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29
Reply to: