[Adium-commits] www/adiumx.com 155:6410dfd162bc: Tell 1.4svn nightly users that ...
adium-commits at adiumx.com
adium-commits at adiumx.com
Thu Apr 23 21:03:48 UTC 2009
details: http://hg.adiumx.com/www/adiumx.com/rev/6410dfd162bc
revision: 155:6410dfd162bc
author: Zachary West <zacw at adiumx.com>
date: Thu Apr 23 17:03:40 2009 -0400
Tell 1.4svn nightly users that version 999,999 is available.
diffstat:
sparkle/appcast-nightly.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff -r b897c6cf028b -r 6410dfd162bc sparkle/appcast-nightly.php
--- a/sparkle/appcast-nightly.php Thu Apr 23 16:59:07 2009 -0400
+++ b/sparkle/appcast-nightly.php Thu Apr 23 17:03:40 2009 -0400
@@ -29,6 +29,11 @@
// file() keeps the newlines, we don't want them. Instead, use file_get_contents and explode it.
$nightlyData = explode("\n", file_get_contents(NIGHTLY_CACHE));
+
+ // Temporary hack for 1.4svn nightly users.
+ if (intval(str_replace("r", "", $_GET['revision'])) > 25000) {
+ $nightlyData[VERSION] = "1.4svnr99999";
+ }
// The address to download the nightly.
$nightlyURL = sprintf("http://%s/%s.tgz", NIGHTLY_HOST, $nightlyData[FILENAME]);
More information about the commits
mailing list