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 } }