From af143ab78735428640c98065a1762c94fb83d87e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 3 Apr 2012 16:03:21 +0200 Subject: [PATCH] fix last commit --- createlinks | 1 + ipasserelle-stats.spec | 2 +- root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/createlinks b/createlinks index cc62c67..fd798aa 100644 --- a/createlinks +++ b/createlinks @@ -3,6 +3,7 @@ use esmith::Build::CreateLinks qw(:all); templates2events("/usr/share/awstats/wwwroot/index.html", qw(webapps-update bootstrap-console-save domain-create domain-modify domain-delete)); +safe_symlink("/etc/e-smith/templates-default/template-begin-html", "root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/template-begin"); foreach my $event (qw/webapps-update bootstrap-console-save domain-create domain-modify domain-delete/){ event_link("awstats-update", "$event", "80"); diff --git a/ipasserelle-stats.spec b/ipasserelle-stats.spec index cd88d4d..1077608 100644 --- a/ipasserelle-stats.spec +++ b/ipasserelle-stats.spec @@ -1,5 +1,5 @@ %define version 0.1.1 -%define release 1.beta0 +%define release 1.beta1 %define name ipasserelle-stats diff --git a/root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All b/root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All index c64323b..4e15f38 100644 --- a/root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All +++ b/root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All @@ -6,6 +6,5 @@ foreach my $dom ($d->domains){ next unless ($stats eq 'enabled'); my $name = $dom->key; $OUT .= "$name

\n"; -HERE } }