Alexandre Julliard : update-winehq: Update the source download URL.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Nov 5 08:59:46 CST 2015
Module: tools
Branch: master
Commit: 69639af132fa26a75c6bb33b5445e7df159a6a3a
URL: http://source.winehq.org/git/tools.git/?a=commit;h=69639af132fa26a75c6bb33b5445e7df159a6a3a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 5 00:36:15 2015 +0900
update-winehq: Update the source download URL.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
update-winehq | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/update-winehq b/update-winehq
index bfabc81..efcf1d5 100755
--- a/update-winehq
+++ b/update-winehq
@@ -90,7 +90,9 @@ while (<ANNOUNCE>)
}
}
-push @text, "<p>The source is <a href=\"http://prdownloads.sourceforge.net/wine/wine-$rel.tar.bz2\">available now</a>.\n";
+(my $dir = $rel) =~ s/^([0-9]+\.[0-9]+).*/$1/;
+
+push @text, "<p>The source is <a href=\"//dl.winehq.org/wine/source/$dir/wine-$rel.tar.bz2\">available now</a>.\n";
push @text, "Binary packages are in the process of being built, and will appear soon at their respective <a href=\"{\$root}/download\">download locations</a>.\n";
push @text, "</p></body></news>\n";
close ANNOUNCE;
More information about the wine-cvs
mailing list