summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwww/dailysrc.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
index d14239e..ea3cd40 100755
--- a/www/dailysrc.pl
+++ b/www/dailysrc.pl
@@ -10,7 +10,15 @@ closedir DIR;
print "<ul>\n";
for ( @tarballs ) {
- print "<li><a href=\"daily/$_\">$_</a>\n";
+ $size = (stat("$basedir/$_"))[7];
+ $log = "";
+ if (/-(\d+)/) {
+ $date = $1;
+ if ( -f "$basedir/changes-$date.log") {
+ $log = "<a href=\"daily/changes-$date.log\">Changelog</a>";
+ }
+ }
+ print "<li><a href=\"daily/$_\">$_</a> ($size bytes) $log\n";
}
print "</ul>\n";