initial commit of file from CVS for smeserver-phpldapadmin on Sat Sep 7 20:51:26 AEST 2024
This commit is contained in:
21
createlinks
Normal file
21
createlinks
Normal 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");
|
Reference in New Issue
Block a user