initial commit of file from CVS for smeserver-phpldapadmin on Sat Sep 7 20:51:26 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:51:26 +10:00
parent 9192b6c4db
commit 106768eae6
24 changed files with 1135 additions and 2 deletions

21
createlinks Normal file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/perl -w
# This script creates the symlinks needed by this RPM
# Specific support exists to create symlinks within e-smith web "panels"
# and for links from named "events" directories into the "actions" directory
use esmith::Build::CreateLinks qw(:all);
for my $event (qw(
bootstrap-console-save
post-upgrade
console-save
smeserver-phpldapadmin-update
))
{
templates2events("/etc/phpldapadmin/config.php", $event);
templates2events("/etc/httpd/conf/httpd.conf", $event);
}
my $event="smeserver-phpldapadmin-update";
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpldapadmin/config.php/template-begin");