summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-11 21:18:23 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-11 21:18:23 +0000
commitfb08bcba3f2e16de4566d47aaa1e1f5315c5411e (patch)
tree47b7aa7f8b103cd57601b20c5c99a0ee1b1810db /python-updater
parentUpdate AUTHORS. (diff)
downloadpython-updater-fb08bcba3f2e16de4566d47aaa1e1f5315c5411e.tar.gz
python-updater-fb08bcba3f2e16de4566d47aaa1e1f5315c5411e.tar.bz2
python-updater-fb08bcba3f2e16de4566d47aaa1e1f5315c5411e.zip
Update list of Python versions.
Diffstat (limited to 'python-updater')
-rwxr-xr-xpython-updater3
1 files changed, 2 insertions, 1 deletions
diff --git a/python-updater b/python-updater
index ae6557d..9c8a7dd 100755
--- a/python-updater
+++ b/python-updater
@@ -35,6 +35,7 @@ VERBOSE=0
PKGS_TO_REMERGE=""
PKGS_COUNT_REMERGE=0
PORTAGE_PYTHON="/usr/bin/python"
+PYTHON_VERSIONS="3.2 3.1 3.0 2.7 2.6 2.5 2.4 2.3 2.2 2.1"
SUPPORTED_PMS="portage pkgcore paludis"
PMS_COMMAND=( "emerge" "pmerge" "paludis" )
@@ -117,7 +118,7 @@ veinfo() {
# get_old_pyver()
# Find old python version, return non-zero if not found
get_old_pyver() {
- for old in 2.5 2.4 2.3 2.2 2.1; do
+ for old in ${PYTHON_VERSIONS}; do
if [[ "${old}" != "${NEW_PY_VER}" && -e /usr/bin/python${old} ]]
then
echo -n "${old}"