[packages/adapter: 257/631] - "etc." excluded for dot removal in summary:

glen glen at pld-linux.org
Mon Sep 12 19:56:00 CEST 2016


commit 4c5be81ecb7eed5a4cd8a7d486021b616bf106b5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Dec 14 09:32:21 2005 +0000

    - "etc." excluded for dot removal in summary:
    
    Changed files:
        adapter.awk -> 1.247

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 8b50fc3..2d3742a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -560,7 +560,7 @@ preamble == 1 {
 
 	field = tolower($1)
 	fieldnlower = $1
-	if (field ~ /summary:/) {
+	if (field ~ /summary:/ && !/etc\.$/) {
 		sub(/\.$/, "", $0);
 	}
 	if (field ~ /group(\([^)]+\)):/)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list