initial commit of file from CVS for e-smith-imp on Wed 12 Jul 08:57:19 BST 2023

This commit is contained in:
Brian Read
2023-07-12 08:57:19 +01:00
parent 0687739452
commit ed665fe4dc
215 changed files with 2942 additions and 2 deletions

32
createlinks Executable file
View 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));
}