initial commit of file from CVS for e-smith-imp on Wed 12 Jul 08:57:19 BST 2023
This commit is contained in:
32
createlinks
Executable file
32
createlinks
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
# conf-imp
|
||||
|
||||
foreach (qw(prefs.php conf.php servers.php header.txt trailer.txt hooks.php mime_drivers.php))
|
||||
{
|
||||
templates2events("/home/httpd/html/horde/imp/config/$_",
|
||||
qw(
|
||||
bootstrap-console-save
|
||||
email-update
|
||||
));
|
||||
}
|
||||
|
||||
foreach (qw(conf.php prefs.php servers.php hooks.php mime_drivers.php))
|
||||
{
|
||||
safe_symlink("/etc/e-smith/templates-default/template-begin-php",
|
||||
"root/etc/e-smith/templates/home/httpd/html/horde/imp/config/$_/template-begin");
|
||||
safe_symlink("/etc/e-smith/templates-default/template-end-php",
|
||||
"root/etc/e-smith/templates/home/httpd/html/horde/imp/config/$_/template-end");
|
||||
}
|
||||
|
||||
foreach (qw(
|
||||
35imp_mysql_create_tables
|
||||
36imp_upgrade
|
||||
))
|
||||
{
|
||||
templates2events(
|
||||
"/etc/e-smith/sql/init/$_",
|
||||
qw(post-install post-upgrade));
|
||||
}
|
Reference in New Issue
Block a user