]> git.pld-linux.org Git - packages/bash-completion.git/blame_incremental - bash-completion-ifcfg.patch
- drop -rpm-cache package (on demand caching in main code)
[packages/bash-completion.git] / bash-completion-ifcfg.patch
... / ...
CommitLineData
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.097549 seconds and 4 git commands to generate.