smeserver-vtigercrm/createlinks

13 lines
547 B
Perl

#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
my $event = 'webapps-update';
templates2events("/usr/share/vtigercrm/config.php", qw(webapps-update bootstrap-console-save));
templates2events("/etc/e-smith/sql/init/80vtigercrm_mysql.sql", $event);
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/vtigercrm/config.php/template-begin");
safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/usr/share/vtigercrm/config.php/template-end");