- patches
[packages/bash-completion.git] / bash-completion-tld.patch
1 diff -ur bash-completion-2.1.orig/bash_completion bash-completion-2.1/bash_completion
2 --- bash-completion-2.1.orig/bash_completion    2013-04-05 10:55:51.000000000 +0000
3 +++ bash-completion-2.1/bash_completion 2015-08-03 08:29:53.003582721 +0000
4 @@ -858,8 +858,8 @@
5          COMPREPLY=( $( compgen -W "$( printf '%s\n' \
6              /etc/sysconfig/network/ifcfg-* | \
7              sed -ne 's|.*ifcfg-\(.*\)|\1|p' )" -- "$cur" ) )
8 -    elif [[ -f /etc/pld-release ]]; then
9 -        # PLD Linux
10 +    elif [[ -f /etc/tld-release ]]; then
11 +        # TLD Linux
12          COMPREPLY=( $( compgen -W "$( command ls -B \
13              /etc/sysconfig/interfaces | \
14              sed -ne 's|.*ifcfg-\(.*\)|\1|p' )" -- "$cur" ) )