diff options
author | 2009-07-11 21:25:32 +0000 | |
---|---|---|
committer | 2009-07-11 21:25:32 +0000 | |
commit | 99c7d2031c4abb6668ae3bd60c5f722ae8d8a9b3 (patch) | |
tree | 5caa0f81d190d0f48d6206bd5974a210d7111c4e | |
parent | Update list of Python versions. (diff) | |
download | python-updater-99c7d2031c4abb6668ae3bd60c5f722ae8d8a9b3.tar.gz python-updater-99c7d2031c4abb6668ae3bd60c5f722ae8d8a9b3.tar.bz2 python-updater-99c7d2031c4abb6668ae3bd60c5f722ae8d8a9b3.zip |
Check the version of '/usr/bin/python' instead of 'python'. Patch by Jeroen Roovers. Bug #256342.
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | python-updater | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -5,6 +5,9 @@ This file lists all changes except typo and formatting fixes. 2009-07-11 Arfrever Frehtes Taifersar Arahesis + * python-updater: Check the version of '/usr/bin/python' instead of + 'python'. Patch by Jeroen Roovers. Bug #256342. + * python-updater: Update list of Python versions. 2008-10-27 Ali Polatel diff --git a/python-updater b/python-updater index 9c8a7dd..867c874 100755 --- a/python-updater +++ b/python-updater @@ -1,6 +1,6 @@ #!/bin/bash # vim: set et sw=4 sts=4 tw=80: -# Copyright 2007-2008 Gentoo Foundation +# Copyright 2007-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # A bit of hackery to update everything that is humanly possible @@ -23,8 +23,8 @@ # PKGS_MASKED = list of packages that are installed, but masked. # -VERSION="0.6" -NEW_PY_VER=$(python -V 2>&1 | sed 's:Python ::' | cut -d. -f1-2) +VERSION="0.7" +NEW_PY_VER=$(/usr/bin/python -V 2>&1 | sed 's:Python ::' | cut -d. -f1-2) PKGS_EXCEPTIONS="dev-lang/python sys-apps/portage" PKGS_MANUAL="app-office/gnumeric app-office/dia dev-libs/boost x11-libs/vte" |