2012-03-27 15:00:09 +02:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
2012-04-03 15:24:36 +02:00
|
|
|
templates2events("/usr/share/awstats/wwwroot/index.html", qw(webapps-update bootstrap-console-save domain-create domain-modify domain-delete));
|
2012-04-03 16:03:21 +02:00
|
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-html", "root/etc/e-smith/templates/usr/share/awstats/wwwroot/index.html/template-begin");
|
2012-03-27 15:00:09 +02:00
|
|
|
|
|
|
|
foreach my $event (qw/webapps-update bootstrap-console-save domain-create domain-modify domain-delete/){
|
2012-03-29 13:04:33 +02:00
|
|
|
event_link("awstats-update", "$event", "80");
|
2012-03-27 15:00:09 +02:00
|
|
|
}
|
2012-03-29 12:00:12 +02:00
|
|
|
foreach my $event (qw/ipasserelle-update bootstrap-console-save webapps-update/){
|
|
|
|
event_link("awstats-init-domain", "$event", "80");
|
|
|
|
}
|