[packages/pldnotify] Change ftp://ftp.debian to http://ftp.debian as ftp is turned off for some time.

arekm arekm at pld-linux.org
Wed Jul 11 13:24:18 CEST 2018


commit 39f02cadd4d8b764876bf62b41b74aa0edc4dd3b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jul 11 13:24:07 2018 +0200

    Change ftp://ftp.debian to http://ftp.debian as ftp is turned off for some time.

 pldnotify.awk | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index 957f5ac..0bdfc75 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -335,6 +335,9 @@ function get_links(url,filename,   errno,link,oneline,retval,odp,wholeodp,lowero
 		gsub("/packages/.*/", "/pypi/" project, url)
 		gsub("files\.pythonhosted\.org", "pypi.python.org", url)
 		d("files.pythonhosted.org url, mangled url to: " url)
+	} else if (url ~/^ftp:\/\/ftp.debian.org\//) {
+		gsub("ftp://ftp.debian.org/", "http://ftp.debian.org/", url)
+		d("ftp://ftp.debian.org url, mangled url to: " url)
 	}
 
 	d("Retrieving: " url)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pldnotify.git/commitdiff/39f02cadd4d8b764876bf62b41b74aa0edc4dd3b



More information about the pld-cvs-commit mailing list