SOURCES: bash-completion-rpm-arch.patch - updated to 20060301
glen
glen at pld-linux.org
Wed Mar 1 20:37:27 CET 2006
Author: glen Date: Wed Mar 1 19:37:27 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated to 20060301
---- Files affected:
SOURCES:
bash-completion-rpm-arch.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/bash-completion-rpm-arch.patch
diff -u SOURCES/bash-completion-rpm-arch.patch:1.3 SOURCES/bash-completion-rpm-arch.patch:1.4
--- SOURCES/bash-completion-rpm-arch.patch:1.3 Sun Jan 29 12:30:36 2006
+++ SOURCES/bash-completion-rpm-arch.patch Wed Mar 1 20:37:22 2006
@@ -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
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/bash-completion-rpm-arch.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list