diff options
Diffstat (limited to 'debian/sitesummary.postinst')
-rw-r--r-- | debian/sitesummary.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
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# |