/[smecontribs]/rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.1-Add-update-event-to-createlinks.patch
ViewVC logotype

Annotation of /rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.1-Add-update-event-to-createlinks.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Apr 20 17:53:22 2021 UTC (3 years, 6 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-manager-AdminLTE-0_1_3-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-13_el7_sme, smeserver-manager-AdminLTE-0_1_3-16_el7_sme, smeserver-manager-AdminLTE-0_1_3-20_el7_sme, smeserver-manager-AdminLTE-0_1_2-3_el7_sme, smeserver-manager-AdminLTE-0_1_3-8_el7_sme, smeserver-manager-AdminLTE-0_1_3-2_el7_sme, smeserver-manager-AdminLTE-0_1_3-5_el7_sme, smeserver-manager-AdminLTE-0_1_3-12_el7_sme, smeserver-manager-AdminLTE-0_1_3-21_el7_sme, smeserver-manager-AdminLTE-0_1_2-2_el7_sme, smeserver-manager-AdminLTE-0_1_3-4_el7_sme, smeserver-manager-AdminLTE-0_1_3-9_el7_sme, smeserver-manager-AdminLTE-0_1_1-4_el7_sme, smeserver-manager-AdminLTE-0_1_3-19_el7_sme, smeserver-manager-AdminLTE-0_1_1-5_el7_sme, smeserver-manager-AdminLTE-0_1_3-18_el7_sme, smeserver-manager-AdminLTE-0_1_3-10_el7_sme, smeserver-manager-AdminLTE-0_1_3-15_el7_sme, smeserver-manager-AdminLTE-0_1_3-7_el7_sme, smeserver-manager-AdminLTE-0_1_3-11_el7_sme, smeserver-manager-AdminLTE-0_1_4-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-6_el7_sme, smeserver-manager-AdminLTE-0_1_3-3_el7_sme, HEAD
* Tue Apr 20 2021 Brian Read <brianr@bjsystems.co.uk> 0.1.1-4.sme
- Update creatlinks to include update event [SME: 11545]

1 brianr 1.1 diff -urN smeserver-manager-AdminLTE-0.1.1.old/createlinks smeserver-manager-AdminLTE-0.1.1/createlinks
2     --- smeserver-manager-AdminLTE-0.1.1.old/createlinks 1970-01-01 01:00:00.000000000 +0100
3     +++ smeserver-manager-AdminLTE-0.1.1/createlinks 2021-04-20 18:48:58.581333572 +0100
4     @@ -0,0 +1,21 @@
5     +#!/usr/bin/perl -w
6     +use esmith::Build::CreateLinks qw(:all);
7     +# Koozali event specific for updating with yum without reboot
8     +$event = 'smeserver-manager-AdminLTE-update';
9     +#add here the path to your templates needed to expand
10     +#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
11     +foreach my $file (qw(
12     + /etc/systemd/system-preset/49-koozali.preset
13     +))
14     +{
15     + templates2events( $file, $event );
16     +}
17     +#action needed in case we have a systemd unit
18     +event_link('systemd-default', $event, '10');
19     +event_link('systemd-reload', $event, '50');
20     +#action specific to this package
21     +#event_link('action', $event, '30');
22     +#services we need to restart
23     +safe_symlink('restart', 'root/etc/e-smith/events/$event/services2adjust/smanager');
24     +#and Server Mmanager panel link
25     +#panel_link('somefunction', 'manager');

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed