Re: java alternatives
On Wed, 27 Jun 2012 15:53:53 -0600, 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?
sm01@stt008:~$ locate update-alternatives
/usr/sbin/update-alternatives
(...)
sm01@stt008:~$ file /usr/sbin/update-alternatives
/usr/sbin/update-alternatives: a /usr/bin/perl -- script text executable
sm01@stt008:~$ cat /usr/sbin/update-alternatives
(...)
Or more specifically:
sm01@stt008:~$ file /usr/sbin/update-java-alternatives
/usr/sbin/update-java-alternatives: Bourne-Again shell script text executable
sm01@stt008:~$ cat /usr/sbin/update-java-alternatives
(...)
Greetings,
--
Camaleón
Reply to: