[SCM] pkg-kde repository scripts branch, master, updated. f6ae4f8a61c7f93340c4cdcd5d5df2686dd20d9b

Modestas Vainius modax-guest at alioth.debian.org
Sat Nov 14 12:45:18 UTC 2009


The following commit has been merged in the master branch:
commit f6ae4f8a61c7f93340c4cdcd5d5df2686dd20d9b
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Sat Nov 14 14:44:54 2009 +0200

    Print last update date in reprepro index.
---
 reprepro-html-index     |    4 ++++
 reprepro-html-index.css |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/reprepro-html-index b/reprepro-html-index
index 3b52c1f..e4bfdf0 100755
--- a/reprepro-html-index
+++ b/reprepro-html-index
@@ -21,6 +21,10 @@ foreach my $distro (@DISTROS) {
 	$o->regroup_by_source();
 	$o->print_html_summary();
 }
+# Last update date
+my $date=`date -R`;
+chop $date;
+print '<p class="lastupdate">Last update: <span id="lastupdate">', $date, '</span></p>', "\n";
 print <<'EOF';
 </body>
 </html>
diff --git a/reprepro-html-index.css b/reprepro-html-index.css
index b769a5e..74c727d 100644
--- a/reprepro-html-index.css
+++ b/reprepro-html-index.css
@@ -26,3 +26,7 @@ th, td {
 .pkg_outdated {
 	font-size: 85%;
 }
+
+span#lastupdate {
+	font-weight: bold;
+}

-- 
pkg-kde repository scripts



More information about the pkg-kde-commits mailing list