summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-02-06 10:48:54 +0100
committerMichał Górny <mgorny@gentoo.org>2016-02-06 10:48:54 +0100
commitd86d8200817ee4b77e5d7a4bc552ec4711ed8638 (patch)
tree5aef3f851213906d659f56c2a5a502a765ec5906
parentshow: Fix --pref-only (diff)
downloadeselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.tar.gz
eselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.tar.bz2
eselect-python-d86d8200817ee4b77e5d7a4bc552ec4711ed8638.zip
update: Ignore Python 2 preference update requests
-rw-r--r--python.eselect.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/python.eselect.in b/python.eselect.in
index 2bf6e30..e05bff1 100644
--- a/python.eselect.in
+++ b/python.eselect.in
@@ -362,7 +362,7 @@ describe_update() {
describe_update_options() {
echo "--if-unset : do not alter preferences unless there is no valid preference set"
echo "--ignore SLOT : ignore specified Python slots"
- echo "--python2 : update only Python 2 preferences"
+ echo "--python2 : update only Python 2 preferences (ignored)"
echo "--python3 : update only Python 3 preferences"
}
@@ -379,6 +379,8 @@ do_update() {
;;
--python2|--py2)
filter=--py2
+ echo "Ignoring Python 2 preference update as non-meaningful"
+ return 0
;;
--python3|--py3)
filter=--py3