1
0
mirror of https://github.com/django/django.git synced 2024-12-22 09:05:43 +00:00

Fixed #25222 -- Avoided installing django_bash_completion for python*-config.

This commit is contained in:
Ville Skyttä 2015-08-04 17:17:11 +03:00 committed by Tim Graham
parent 74be214e81
commit 34057730a5

View File

@ -61,7 +61,7 @@ unset pythons
if command -v whereis &>/dev/null; then
python_interpreters=$(whereis python | cut -d " " -f 2-)
for python in $python_interpreters; do
pythons="${pythons} ${python##*/}"
[[ $python != *-config ]] && pythons="${pythons} ${python##*/}"
done
unset python_interpreters
pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")