aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2007-05-18 07:27:17 +0000
committerPetter Reinholdtsen <pere@hungry.com>2007-05-18 07:27:17 +0000
commit8490a365412e266a1642591ec7bc328144421c73 (patch)
tree201c687a0aff908be32950089128e0f3fe8d0239
parent3036689794b435bd448140c7485d8dec35a1be49 (diff)
downloadsitesummary-8490a365412e266a1642591ec7bc328144421c73.tar.gz
sitesummary-8490a365412e266a1642591ec7bc328144421c73.tar.bz2
sitesummary-8490a365412e266a1642591ec7bc328144421c73.tar.xz
[ Bart Cornelis (cobaco) ]
[ Petter Reinholdtsen ] * Run cron job just after installation, to get the web page generated. (Closes: #423256)
-rw-r--r--debian/changelog7
-rw-r--r--debian/sitesummary.postinst3
2 files changed, 9 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b11ca24..2bfa97f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,14 @@
sitesummary (0.0.24) UNRELEASED; urgency=low
+ [ Bart Cornelis (cobaco) ]
* Updated templates file as it was out of date
* Added Dutch translation
- -- Bart Cornelis (cobaco) <cobaco@linux.be> Sun, 29 Apr 2007 15:08:45 +0200
+ [ Petter Reinholdtsen ]
+ * Run cron job just after installation, to get the web page generated.
+ (Closes: #423256)
+
+ -- Petter Reinholdtsen <pere@debian.org> Fri, 18 May 2007 09:24:23 +0200
sitesummary (0.0.23) unstable; urgency=medium
diff --git a/debian/sitesummary.postinst b/debian/sitesummary.postinst
index fefb38f..ac8e084 100644
--- a/debian/sitesummary.postinst
+++ b/debian/sitesummary.postinst
@@ -14,4 +14,7 @@ fi
# Make sure the cgi script can write to the storage area
chown www-data /var/lib/sitesummary/tmpstorage /var/lib/sitesummary/entries
+# Generate the web page at install time
+[ -f /var/lib/sitesummary/www/index.html ] || /etc/cron.daily/sitesummary
+
#DEBHELPER#