smeserver-dl/createlinks

12 lines
517 B
Plaintext
Raw Normal View History

2013-11-18 19:32:28 +01:00
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
# Templates to expand
templates2events("/etc/dl.php", qw(bootstrap-console-save webapps-update));
2013-11-20 12:46:40 +01:00
templates2events("/etc/e-smith/sql/init/dl", qw(bootstrap-console-save webapps-update));
2013-11-18 19:32:28 +01:00
# PHP header and footer
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/dl.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/dl.php/template-end");