]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- updated to 20060301
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 1 Mar 2006 19:37:22 +0000 (19:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-completion-rpm-arch.patch -> 1.4

bash-completion-rpm-arch.patch

index 2bc32207e018e94ab75b28e8849b0646a059dfc5..3a90351371edfb3eee651d05abc3118ef85f0cc3 100644 (file)
@@ -1,16 +1,21 @@
---- bash_completion/bash_completion    2006-01-18 02:02:52.000000000 +0200
-+++ /tmp/bash_completion       2006-01-18 02:02:01.000000000 +0200
-@@ -1731,11 +1731,10 @@
+--- bash_completion/bash_completion~   2006-03-01 21:23:16.000000000 +0200
++++ bash_completion/bash_completion    2006-03-01 21:28:37.000000000 +0200
+@@ -1742,7 +1742,7 @@
        if [ -r /var/cache/rpmpkgs.txt -a /var/cache/rpmpkgs.txt -nt /var/lib/rpm/Packages ]; then
                # using RHL 7.2 or later - this is quicker than querying the DB
                COMPREPLY=( $( sed -ne \
 -              's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \
-+              's|^\('$cur'.*\)\.rpm$|\1|p' \
++              's|^\('$cur'.*\)\.rpm$|\1|p' \
                                /var/cache/rpmpkgs.txt ) )
        else
+               nodig=""
+@@ -1757,8 +1757,7 @@
+                       nosig="--nosignature"
+               fi
 -              COMPREPLY=( $( rpm -qa $nodig $nosig | sed -ne \
 -              's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+$|\1|p' ) )
-+              COMPREPLY=( $( rpm -qa $nodig $nosig --qf '%{name}-%{version}-%{release}.%{arch}\n' "$cur*" ) )
++              COMPREPLY=( $( rpm -qa $nodig $nosig --qf '%{name}-%{version}-%{release}.%{arch}\n' "$cur*" ) )
        fi
  }
  
This page took 0.097451 seconds and 4 git commands to generate.