1 |
On 11/29/10 16:47, Arfrever Frehtes Taifersar Arahesis wrote: |
2 |
> It wasn't any mistake. Please actually read that code: |
3 |
> |
4 |
> eselect_python_update() { |
5 |
> if [[ -z "$(eselect python show --python${PV%%.*})" ]]; then |
6 |
> eselect python update --python${PV%%.*} |
7 |
> fi |
8 |
> } |
9 |
> |
10 |
> "${PV%%.*}" == "2" |
11 |
> 'eselect python update --python2' would be called only if output of |
12 |
> 'eselect python show --python2' was empty, which would occur when |
13 |
> there was no active version of Python 2 set (no /usr/bin/python2 |
14 |
> symlink). |
15 |
|
16 |
Thanks for that code. I apologize. |
17 |
|
18 |
|
19 |
|
20 |
Sebastian |