[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Python 2.7 status check?
From:       Sebastian Pipping <sping () gentoo ! org>
Date:       2010-11-30 17:23:03
Message-ID: 4CF532F7.4000005 () gentoo ! org
[Download RAW message or body]

On 11/29/10 16:47, Arfrever Frehtes Taifersar Arahesis wrote:
> It wasn't any mistake. Please actually read that code:
> 
> eselect_python_update() {
> 	if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then
> 		eselect python update --python${PV%%.*}
> 	fi
> }
> 
> "${PV%%.*}" == "2"
> 'eselect python update --python2' would be called only if output of
> 'eselect python show --python2' was empty, which would occur when
> there was no active version of Python 2 set (no /usr/bin/python2
> symlink).

Thanks for that code.  I apologize.



Sebastian

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic