2013-11-08 10:51:54 +01:00
|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
# Templates to expand
|
2013-11-08 16:29:46 +01:00
|
|
|
templates2events("/etc/e-smith/sql/init/limesurvey", qw(bootstrap-console-save webapps-update));
|
2013-11-08 10:51:54 +01:00
|
|
|
templates2events("/usr/share/limesurvey/application/config/config.php", qw(bootstrap-console-save webapps-update));
|
2014-08-13 11:32:41 +02:00
|
|
|
templates2events("/usr/share/limesurvey/.htaccess", qw(bootstrap-console-save webapps-update));
|
2013-11-08 10:51:54 +01:00
|
|
|
|
|
|
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/template-begin");
|
|
|
|
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/usr/share/limesurvey/application/config/config.php/template-end");
|
|
|
|
|