commit afb5de4bb6718c3b589fc4e675c3aa6fd68cb3d1
Author: Arkadiusz Miƛkiewicz <ar...@maven.pl>
Date:   Thu May 2 07:27:24 2013 +0200

    - ejabberd url

 pldnotify.awk | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/pldnotify.awk b/pldnotify.awk
index c16e759..1f403c6 100755
--- a/pldnotify.awk
+++ b/pldnotify.awk
@@ -293,6 +293,11 @@ function get_links(url,filename,   
errno,link,oneline,retval,odp,wholeodp,lowero
                d("aquamaniac.de tarball url, mungled url to: " url)
        }
 
+       if (url 
~/^(http|https):\/\/www.process-one.net\/downloads\/ejabberd\//) {
+               url = "http://www.process-one.net/en/ejabberd/archive/";
+               d("ejabberd tarball url, mungled url to: " url)
+       }
+
        d("Retrieving: " url)
        user_agent = "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) 
Gecko/20100129 PLD/3.0 (Th) Iceweasel/3.6"
        cmd = "wget -t 2 -T 45 --user-agent \"" user_agent "\" -nv -O - \"" url 
"\" --passive-ftp --no-check-certificate > " tmpfile " 2> " tmpfileerr
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/afb5de4bb6718c3b589fc4e675c3aa6fd68cb3d1

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to