summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-12 17:53:25 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-12 17:53:37 +0100
commitbb5b98cacf492697f74d9dde87dc974b541b79ad (patch)
tree92a028593262c17970421b3325a0c3caed3b7288
parentBump version. (diff)
downloadeselect-python-bb5b98cacf492697f74d9dde87dc974b541b79ad.tar.gz
eselect-python-bb5b98cacf492697f74d9dde87dc974b541b79ad.tar.bz2
eselect-python-bb5b98cacf492697f74d9dde87dc974b541b79ad.zip
manpage: Support .lz compression
-rw-r--r--python.eselect.in4
1 files 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