From bb5b98cacf492697f74d9dde87dc974b541b79ad Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 12 Nov 2015 17:53:25 +0100 Subject: manpage: Support .lz compression --- python.eselect.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python.eselect.in b/python.eselect.in index 9a52791..8baa44e 100644 --- a/python.eselect.in +++ b/python.eselect.in @@ -58,7 +58,7 @@ remove_symlinks() { local symlink symlink_target symlink_target_found if [[ "${SET_MAIN_ACTIVE_PYTHON_INTERPRETER}" == "1" ]]; then rm -f "${INTERPRETER_PATH}"{idle,pydoc,python,python-config,pythonw} &> /dev/null || return 1 - rm -f "${MAN_PATH}"python.1{,.gz,.bz2,.lzma,.xz} &> /dev/null || return 1 + rm -f "${MAN_PATH}"python.1{,.gz,.bz2,.lzma,.xz,.lz} &> /dev/null || return 1 fi for symlink in "${INTERPRETER_PATH}python"?; do @@ -80,7 +80,7 @@ remove_symlinks() { set_man_symlink() { local target="${1}" x extension - for x in ".1" ".1.bz2" ".1.gz" ".1.lzma" ".1.xz"; do + for x in ".1" ".1.bz2" ".1.gz" ".1.lzma" ".1.xz" ".1.lz"; do if [[ -e "${MAN_PATH}${target}${x}" ]]; then extension="${x}" break -- cgit v1.2.3-65-gdbad