[packages/adapter: 212/631] - no trailing dot in Summary:

glen glen at pld-linux.org
Mon Sep 12 19:52:14 CEST 2016


commit 024709c695ac78d12edf4edf97a343d600b2f7aa
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Oct 12 20:20:03 2005 +0000

    - no trailing dot in Summary:
    
    Changed files:
        adapter.awk -> 1.203

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 8ea475c..84f424d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -472,6 +472,9 @@ preamble == 1 {
 
 	field = tolower($1)
 	fieldnlower = $1
+	if (field ~ /summary:/) {
+		sub(/\.$/, "", $0);
+	}
 	if (field ~ /group(\([^)]+\)):/)
 		next
 	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