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

Re: Specifying %{variable} in control file for use in post inst?



On Fri, Apr 30, 2010 at 6:45 AM, Thomas Goirand <thomas@goirand.fr> >
To my experience, it's a lot more easy to be able to maintain BOTH the
rpm
> and the Debian package rather than just porting from one to another. If you
> want to avoid redundancy and want to factor things a bit. Maybe you could
> suggest some modifications to the maintainer of the RPM package so you
> can share changes with him later on.

That is pretty much what I have been doing. But how about something as
simple as accomplishing this in postinst using the control file
variables?

echo "The package: %{Package}-%{Version} is now installed."

How would one accomplish this in deb?

-- IV


Reply to: