bash_completion: delete from tree.

This was an old version of bash_completion and not included in the
image. An haikuports recipe is available if you need it.

Fixes #11660.

Signed-off-by: Adrien Destugues <[email protected]>
This commit is contained in:
Augustin Cavalier
2015-01-05 12:03:45 +01:00
committed by Adrien Destugues
parent 62ede2e6a2
commit 0de25abadc
185 changed files with 0 additions and 24013 deletions
-12
View File
@@ -1,12 +0,0 @@
# Check for interactive bash and that we haven't already been sourced.
[ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION" ] && return
# Check for recent enough version of bash.
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
if [ $bmajor -gt 3 ] || [ $bmajor -eq 3 -a $bminor -ge 2 ]; then
if shopt -q progcomp && [ -r /boot/system/etc/bash_completion ]; then
# Source completion code.
. /boot/system/etc/bash_completion
fi
fi
unset bash bmajor bminor