]> git.pld-linux.org Git - packages/bash-completion.git/blob - bash-completion-ifcfg.patch
- pass --nodigest and --nosignature params when refreshing rpm -qa cache
[packages/bash-completion.git] / bash-completion-ifcfg.patch
1 --- bash_completion     2005-05-31 20:21:36.000000000 +0300
2 +++ /tmp/bash_completion        2005-05-31 20:21:09.000000000 +0300
3 @@ -229,6 +229,11 @@
4                 COMPREPLY=( $( command ls \
5                         /etc/sysconfig/network/ifcfg-* | \
6                         sed -ne 's|.*ifcfg-\('$cur'.*\)|\1|p' ) )
7 +       elif [ -f /etc/pld-release ]; then
8 +               # PLD Linux
9 +               COMPREPLY=( $( command ls -B \
10 +                       /etc/sysconfig/interfaces | \
11 +                       sed -ne 's|.*ifcfg-\('$cur'.*\)|\1|p' ) )
12         else
13                 # Assume Red Hat
14                 COMPREPLY=( $( command ls \
This page took 0.021592 seconds and 3 git commands to generate.