[packages/adapter: 346/631] - new sf urls

glen glen at pld-linux.org
Mon Sep 12 20:03:27 CEST 2016


commit dda77cb4fd713b6d602e0960135ad89afefaa3a2
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Nov 26 23:32:41 2006 +0000

    - new sf urls
    
    Changed files:
        adapter.awk -> 1.333

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 55d2279..4ebaed7 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -888,8 +888,12 @@ preamble == 1 {
 		$2 = fixedsub(filename, url[n], $2)
 
 		# sourceforge urls
+		sub("[?&]big_mirror=.*$", "", $2);
+		sub("[?&]modtime=.*$", "", $2);
+
 		sub("[?]use_mirror=.*$", "", $2);
 		sub("[?]download$", "", $2);
+
 		sub("^http://prdownloads\.sourceforge\.net/", "http://dl.sourceforge.net/", $2)
 		sub("^http://download\.sf\.net/", "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