]> git.pld-linux.org Git - packages/bash-completion.git/blob - bash-completion-FHS.patch
- 20050720
[packages/bash-completion.git] / bash-completion-FHS.patch
1 --- bash_completion/bash_completion~    2005-01-04 08:37:42.000000000 +0200
2 +++ bash_completion/bash_completion     2005-01-09 17:24:06.000000000 +0200
3 @@ -1616,12 +1616,12 @@
4  {
5         local i
6  
7 -       if [ -r /var/log/rpmpkgs -a \
8 -               /var/log/rpmpkgs -nt /var/lib/rpm/Packages ]; then
9 +       if [ -r /var/cache/rpmpkgs.txt -a \
10 +               /var/cache/rpmpkgs.txt -nt /var/lib/rpm/Packages ]; then
11                 # using RHL 7.2 or later - this is quicker than querying the DB
12                 COMPREPLY=( $( sed -ne \
13                 's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \
14 -                               /var/log/rpmpkgs ) )
15 +                               /var/cache/rpmpkgs.txt ) )
16         else
17                 COMPREPLY=( $( rpm -qa $nodig $nosig | sed -ne \
18                 's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+$|\1|p' ) )
This page took 0.088252 seconds and 3 git commands to generate.