fix last commit

tags/0.1.2
Daniel Berteaud 13 years ago
parent a1ab21c4da
commit af143ab787
  1. 1
      createlinks
  2. 2
      ipasserelle-stats.spec
  3. 1
      root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/10All

@ -3,6 +3,7 @@
use esmith::Build::CreateLinks qw(:all); 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)); 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/){ foreach my $event (qw/webapps-update bootstrap-console-save domain-create domain-modify domain-delete/){
event_link("awstats-update", "$event", "80"); event_link("awstats-update", "$event", "80");

@ -1,5 +1,5 @@
%define version 0.1.1 %define version 0.1.1
%define release 1.beta0 %define release 1.beta1
%define name ipasserelle-stats %define name ipasserelle-stats

@ -6,6 +6,5 @@ foreach my $dom ($d->domains){
next unless ($stats eq 'enabled'); next unless ($stats eq 'enabled');
my $name = $dom->key; my $name = $dom->key;
$OUT .= "<a href=\"https://stats.$DomainName/cgi-bin/awstats.pl?config=$name\">$name</a><p>\n"; $OUT .= "<a href=\"https://stats.$DomainName/cgi-bin/awstats.pl?config=$name\">$name</a><p>\n";
HERE
} }
} }

Loading…
Cancel
Save