[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to obtain current package version number?



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?

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: