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.
12 lines
576 B
12 lines
576 B
12 years ago
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
|
||
|
# Templates to expand
|
||
|
templates2events("/etc/e-smith/sql/init/ownclouddb", qw(bootstrap-console-save webapps-update));
|
||
|
templates2events("/etc/owncloud/autoconfig.php", qw(bootstrap-console-save webapps-update));
|
||
|
|
||
|
# PHP header and footer
|
||
|
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/owncloud/autoconfig.php/template-begin");
|
||
|
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/owncloud/autoconfig.php/template-end");
|