initial commit of file from CVS for smeserver-durep on Sat Sep 7 20:21:52 AEST 2024
This commit is contained in:
33
createlinks
Normal file
33
createlinks
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/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);
|
||||
|
||||
safe_symlink("/etc/e-smith/web/functions/wrapper","root/etc/e-smith/web/panels/manager/cgi-bin/durep");
|
||||
|
||||
#--------------------------------------------------
|
||||
# actions for post-upgrade:
|
||||
#--------------------------------------------------
|
||||
$event = "post-upgrade";
|
||||
event_link("durep-init", $event, "90");
|
||||
|
||||
#--------------------------------------------------
|
||||
# actions for smeserver-durep-update event:
|
||||
#--------------------------------------------------
|
||||
$event = "smeserver-durep-update";
|
||||
|
||||
event_link("navigation-conf", $event, "50");
|
||||
event_link("durep-init", $event, "90");
|
||||
templates2events("/etc/crontab", $event );
|
||||
|
||||
safe_symlink('restart', "root/etc/e-smith/events/$event/services2adjust/smanager");
|
||||
event_link('navigation2-conf', "$event", '80');
|
||||
event_link('routes2-conf', "$event", '80');
|
||||
event_link('locales2-conf', "$event", '80');
|
||||
safe_symlink('/etc/e-smith/web/panels/manager/html/durep/bar.png', 'root/usr/share/smanager/themes/default/public/images/bar.png');
|
||||
|
||||
use esmith::Build::Backup qw(:all);
|
||||
backup_includes("smeserver-durep", qw(
|
||||
/var/lib/durep
|
||||
));
|
Reference in New Issue
Block a user