[packages/adapter: 137/631] - updated sourceforge filter

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


commit 7d2751ebbe62b6a38dc354eaa3d765f9ae71243e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Feb 21 08:46:42 2005 +0000

    - updated sourceforge filter
    
    Changed files:
        adapter.awk -> 1.132

 adapter.awk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 1b0bef3..edee17d 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -449,7 +449,8 @@ preamble == 1 {
 		$2 = fixedsub(filename, url[n], $2)
 
 		# sourceforge urls
-		sub("^http://.*dl\.sourceforge\.net/sourceforge/", "http://dl.sourceforge.net/", $2)
+		sub("^http://.*\.dl\.sourceforge\.net/", "http://dl.sourceforge.net/", $2)
+		sub("^http://dl\.sourceforge\.net/sourceforge/", "http://dl.sourceforge.net/", $2)
 	}
 
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list