#!/usr/bin/perl -w use esmith::Build::CreateLinks qw(:all); foreach my $event (qw/bootstrap-console-save webapps-update ipasserelle-update/){ event_link("ipasserelle-pma-init-domain", "$event", "25"); } foreach my $event (qw/bootstrap-console-save webapps-update/){ templates2events("/etc/phpMyAdmin/config.inc.php", $event); templates2events("/etc/phpMyAdmin/sso.inc.php", $event); templates2events("/etc/e-smith/sql/init/phpmyadmin", $event); } # PHP header and footer safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/template-begin"); safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/phpMyAdmin/config.inc.php/template-end"); safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/phpMyAdmin/sso.inc.php/template-begin"); safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/phpMyAdmin/sso.inc.php/template-end");