1 |
unnilennium |
1.1 |
diff -up smeserver-bugzilla-0.1/createlinks.tie2events smeserver-bugzilla-0.1/createlinks |
2 |
|
|
--- smeserver-bugzilla-0.1/createlinks.tie2events 2009-12-05 14:10:24.000000000 +0100 |
3 |
|
|
+++ smeserver-bugzilla-0.1/createlinks 2009-12-05 14:29:55.000000000 +0100 |
4 |
|
|
@@ -0,0 +1,23 @@ |
5 |
|
|
+#!/usr/bin/perl -w |
6 |
|
|
+ |
7 |
|
|
+use esmith::Build::CreateLinks qw(:all); |
8 |
|
|
+ |
9 |
|
|
+for my $event (qw( |
10 |
|
|
+ post-upgrade |
11 |
|
|
+ bugzilla-update |
12 |
|
|
+ )) |
13 |
|
|
+{ |
14 |
|
|
+ templates2events("/etc/bugzilla.conf", $event); |
15 |
|
|
+ templates2events("/usr/share/bugzilla/localconfig", $event); |
16 |
|
|
+} |
17 |
|
|
+ |
18 |
|
|
+for my $event (qw( |
19 |
|
|
+ bugzilla-update |
20 |
|
|
+ )) |
21 |
|
|
+{ |
22 |
|
|
+ templates2events("/etc/httpd/conf/httpd.conf", $event); |
23 |
|
|
+ safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
24 |
|
|
+ event_link("bugzilla", $event, "05"); |
25 |
|
|
+} |
26 |
|
|
+ |
27 |
|
|
+templates2events("/etc/e-smith/sql/init/80bugzilla", "post-upgrade"); |