diff options
| author | Ville Skyttä <ville.skytta@iki.fi> | 2015-08-04 17:17:11 +0300 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-08-04 14:27:31 -0400 |
| commit | 34057730a55efe31431070c529031ee5a6f7f47b (patch) | |
| tree | 118d90517a335c5bcde3ea0c910d1d2523b2551e /extras/django_bash_completion | |
| parent | 74be214e8185c188ef6c1abf3e6dd0adadf5b794 (diff) | |
Fixed #25222 -- Avoided installing django_bash_completion for python*-config.
Diffstat (limited to 'extras/django_bash_completion')
| -rwxr-xr-x | extras/django_bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/django_bash_completion b/extras/django_bash_completion index 1fac9ea2aa..06a2321ff3 100755 --- a/extras/django_bash_completion +++ b/extras/django_bash_completion @@ -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" " ") |
