[packages/adapter: 78/631] - fix regexp on substitute Group field (now this wot correctly).

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


commit 9dcf72814e1398113e6eb6651add9695f47b4595
Author: kloczek <kloczek at pld-linux.org>
Date:   Wed Sep 13 23:11:29 2000 +0000

    - fix regexp on substitute Group field (now this wot correctly).
    
    Changed files:
        adapter.awk -> 1.78

 adapter.awk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index a796a88..fe7fe7c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -309,9 +309,9 @@ preamble == 1 {
 	if (field ~ /group(\(..\))?:/) {
 		format_preamble()
 		sub(/^Utilities\//,"Applications/",$2)
-		sub(/^Games,"Applications/Games",$2)
-		sub(/^X11\//Games,"Applications/Games",$2)
-		sub(/^X11\//Games\//Strategy,"X11/Applications/Games/Strategy",$2)
+		sub(/^Games/,"Applications/Games",$2)
+		sub(/^X11\/Games/,"Applications\/Games",$2)
+		sub(/^X11\/Games\/Strategy/,"X11/Applications/Games/Strategy",$2)
 
 		if (!match(field,/\(..\):/))
 			glang="en"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list