summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 22:07:09 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 22:07:09 +0100
commitf3ef3c17ac1fb2bb53050a28a0e409c30282c5d2 (patch)
tree405f72079b5d1722dbb7280026761fce90b2d509
parentAdd --cpython filter to filter out non-CPython preferences (diff)
downloadeselect-python-f3ef3c17ac1fb2bb53050a28a0e409c30282c5d2.tar.gz
eselect-python-f3ef3c17ac1fb2bb53050a28a0e409c30282c5d2.tar.bz2
eselect-python-f3ef3c17ac1fb2bb53050a28a0e409c30282c5d2.zip
post_update: Use only CPython for manpages, frameworks and python-docs
-rw-r--r--python.eselect.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/python.eselect.in b/python.eselect.in
index 5f22614..37a824c 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -163,13 +163,13 @@ set_python_docs() {
# Perform all necessary updates following preference list change.
post_update() {
- local main_interp=$(do_show)
+ local main_cpython=$(do_show --cpython)
# TODO: update only when necessary
- set_man_symlink "${main_interp}"
- set_osx_framework "${main_interp}"
- set_python_docs "${main_interp}"
+ set_man_symlink "${main_cpython}"
+ set_osx_framework "${main_cpython}"
+ set_python_docs "${main_cpython}"
}
### edit action ###