]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- no need to check for bash_completion existence, it's always there auto/ac/bash-completion-20050112-1
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 13 Jan 2005 13:07:13 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-completion.spec -> 1.112

bash-completion.spec

index 705e0878a6214d81b9d80f9bb6160f915ea790a1..d6234b93bc3f10b8e07dc60dadd75ca5c8b769d5 100644 (file)
@@ -61,7 +61,7 @@ cat <<'EOF' > %{name}.sh
 # check for correct version of bash
 bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
 if [ "$bmajor" -eq 2 -a "$bminor" '>' 04 ] || [ "$bmajor" -gt 2 ]; then
-       if [ "$PS1" ] && [ -f %{_sysconfdir}/bash_completion ]; then # interactive shell
+       if [ "$PS1" ]; then # interactive shell
                # Source completion code
                . %{_sysconfdir}/bash_completion
        fi
This page took 0.102997 seconds and 4 git commands to generate.