diff options
author | 2009-07-25 16:38:29 +0000 | |
---|---|---|
committer | 2009-07-25 16:38:29 +0000 | |
commit | 227843f8bd4a23c2370e0a27a2cc3526af8abf86 (patch) | |
tree | e5f6aa0f44196f3cea7dc90fb21edc57b7160396 | |
parent | Make /usr/bin/python a script instead of a symlink. (diff) | |
download | eselect-python-227843f8bd4a23c2370e0a27a2cc3526af8abf86.tar.gz eselect-python-227843f8bd4a23c2370e0a27a2cc3526af8abf86.tar.bz2 eselect-python-227843f8bd4a23c2370e0a27a2cc3526af8abf86.zip |
Support .xz extension (bug #276106).
-rw-r--r-- | python.eselect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python.eselect b/python.eselect index 04965f4..eb5bcad 100644 --- a/python.eselect +++ b/python.eselect @@ -40,7 +40,7 @@ EOF remove_symlinks() { local symlink symlink_target symlink_target_found rm -f "${INTERPRETER_PATH}"{idle,pydoc,python,python-config} &>/dev/null && \ - rm -f "${MAN_PATH}"python.1{,.gz,.bz2,.lzma} &>/dev/null + rm -f "${MAN_PATH}"python.1{,.gz,.bz2,.lzma,.xz} &>/dev/null for symlink in "${INTERPRETER_PATH}python"?; do [[ ! -L "${symlink}" ]] && continue symlink_target_found=0 @@ -57,7 +57,7 @@ remove_symlinks() { set_man_symlink() { local target="${1}" x extension - for x in ".1" ".1.bz2" ".1.gz" ".1.lzma"; do + for x in ".1" ".1.bz2" ".1.gz" ".1.lzma" ".1.xz"; do if [[ -e "${MAN_PATH}${target}${x}" ]]; then extension="${x}" break |