[packages/adapter: 406/631] - unify ftp.gnu.org url

glen glen at pld-linux.org
Mon Sep 12 20:08:28 CEST 2016


commit 11401cd0ef2cb5b1d78a4711a6ccd9d646e06b1d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Fri Apr 4 20:43:15 2008 +0000

    - unify ftp.gnu.org url
    
    Changed files:
        adapter.awk -> 1.388

 adapter.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index f9d6352..f2133e3 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1600,6 +1600,9 @@ function unify_url(url)
 	# apache urls
 	sub("^http://apache.zone-h.org/", "http://www.apache.org/dist/", url)
 
+	# gnu.org
+	sub("^ftp://ftp.gnu.org/gnu/", "http://ftp.gnu.org/gnu/", url)
+
 	return url
 }
 
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list