diff options
| -rwxr-xr-x | www/dailysrc.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/dailysrc.pl b/www/dailysrc.pl index 27ef199..71f49c8 100755 --- a/www/dailysrc.pl +++ b/www/dailysrc.pl @@ -14,7 +14,10 @@ for ( @tarballs ) { $log = ""; if (/-(\d+)/) { $date = $1; - if ( -f "$basedir/changes-$date.log") { + if ( -f "$basedir/changes-$date.txt") { + $log = "<a href=\"daily/changes-$date.txt\">Changelog</a>"; + } + elsif ( -f "$basedir/changes-$date.log") { $log = "<a href=\"daily/changes-$date.log\">Changelog</a>"; } } |