[packages/adapter: 75/631] - sort groups alphabetically by language

glen glen at pld-linux.org
Mon Sep 12 19:40:45 CEST 2016


commit 6ec965084af1c362ad96633def528f6c612cba49
Author: Sebastian Zagrodzki <sebek at zagrodzki.net>
Date:   Mon Sep 11 14:59:21 2000 +0000

    - sort groups alphabetically by language
    
    Changed files:
        adapter.awk -> 1.75

 adapter.awk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 60c9306..7b71164 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -284,9 +284,10 @@ preamble == 1 {
 
 		delete Grupa["en"]
 		for (jezyk in Grupa) {
-			print "Group(" jezyk "):\t" Grupa[jezyk]
+			print "Group(" jezyk "):\t" Grupa[jezyk] | "sort"
 			delete Grupa[jezyk]
 		}
+		close ("sort")
 	}
 	
 	if (field ~ /packager:|distribution:|docdir:|prefix:/)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list