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

Re: java alternatives



On 28/06/12 09:53, ChadDavis wrote:
> I want to see the script that installs the alternatives when the
> sun-java6-jdk is installed.  I'm not that familiar with the .deb
> structure, etc.  I guess it's in some lifecycle script, but I don't
> know where those end up.  The update-alternatives man page says
> "update-alternatives is usually called from the postinst (configure)
> or prerm (install) scripts in Debian packages."  But where do I find
> those?

If the package is installed:

/var/lib/dpkg/info/sun-java6-jdk.postinst
/var/lib/dpkg/info/sun-java6-jdk.prerm

Richard


Reply to: