==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=7981

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

--- Comment #3 from Stephane de Labrusse <[email protected]> ---
noticed one bug, but you can see the good thing of this work, jpp....with your
help i understand a bit more how event works :D

[root@sme8dev ~]# locate post-update
/etc/e-smith/events/post-update
/etc/e-smith/events/post-update/templates2expand
/etc/e-smith/events/post-update/templates2expand/etc
/etc/e-smith/events/post-update/templates2expand/opt
/etc/e-smith/events/post-update/templates2expand/etc/e-smith
/etc/e-smith/events/post-update/templates2expand/etc/e-smith/sql
/etc/e-smith/events/post-update/templates2expand/etc/e-smith/sql/init
/etc/e-smith/events/post-update/templates2expand/etc/e-smith/sql/init/80roundcube
/etc/e-smith/events/post-update/templates2expand/opt/roundcube
/etc/e-smith/events/post-update/templates2expand/opt/roundcube/config
/etc/e-smith/events/post-update/templates2expand/opt/roundcube/config/db.inc.php
/etc/e-smith/events/post-update/templates2expand/opt/roundcube/config/main.inc.php


indeed if we look in your diff i can find you have made an error between two
events 

signal-event post-update which doesn't exist
and
signal-event post-upgrade which is the good event to add.

--- smeserver-roundcube-0.9/createlinks.patch1    2013-11-05 17:27:53.000000000
-0500
+++ smeserver-roundcube-0.9/createlinks    2013-11-05 17:47:58.000000000 -0500
@@ -0,0 +1,27 @@
+#!/usr/bin/perl -w
+
+use esmith::Build::CreateLinks qw(:all);
+
+for my $event (qw(
+    bootstrap-console-save
+    conf-roundcube
+    post-update
+    ))
+{
+    templates2events("/opt/roundcube/config/db.inc.php", $event);
+    templates2events("/opt/roundcube/config/main.inc.php", $event);
+    templates2events("/etc/e-smith/sql/init/80roundcube", $event);
+}
+
+for  my $event (qw(
+    conf-roundcube
+    ))
+{
+    templates2events("/etc/httpd/conf/httpd.conf", $event);
+    safe_symlink("restart",
"root/etc/e-smith/events/$event/services2adjust/mysql.init");;
+    safe_symlink("sigusr1",
"root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
+}
+
+
+
+

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to