Kaydet (Commit) 34057730 authored tarafından Ville Skyttä's avatar Ville Skyttä Kaydeden (comit) Tim Graham

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

üst 74be214e
...@@ -61,7 +61,7 @@ unset pythons ...@@ -61,7 +61,7 @@ unset pythons
if command -v whereis &>/dev/null; then if command -v whereis &>/dev/null; then
python_interpreters=$(whereis python | cut -d " " -f 2-) python_interpreters=$(whereis python | cut -d " " -f 2-)
for python in $python_interpreters; do for python in $python_interpreters; do
pythons="${pythons} ${python##*/}" [[ $python != *-config ]] && pythons="${pythons} ${python##*/}"
done done
unset python_interpreters unset python_interpreters
pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ") pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment