Jappix integration on SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
578 B

13 years ago
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
# Templates to expand
foreach my $event (qw/webapps-update bootstrap-console-save/){
templates2events("/etc/jappix/hosts.xml", $event);
templates2events("/etc/jappix/main.xml", $event);
templates2events("/etc/jappix/installed.xml", $event);
}
# Conf are XML files
safe_touch("root/etc/e-smith/templates/etc/jappix/hosts.xml/template-begin");
safe_touch("root/etc/e-smith/templates/etc/jappix/main.xml/template-begin");
safe_touch("root/etc/e-smith/templates/etc/jappix/installed.xml/template-begin");