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

  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 #10 from John Crisp <[email protected]> ---
Just looked again quickly. Might be better to use something like this is in the
gitweb createlinks


foreach (qw(
       /etc/gitweb.conf
       /etc/httpd/conf/httpd.conf

    ))
{
    templates2events("$_", qw(
    post-upgrade
    console-save
    bootstrap-console-save
    git-modify
    git-delete
    git-repository-create
    git-repository-modify
    git-repository-delete
    other-events-blah.....
    ));
}

So those templates get generated for every required event that may affect them

Should be able to avoid some repetition with something like this :

foreach (qw(

     user-delete 
     group-delete
     group-modify
     other-events-blah.....

     ));
{
  safe_symlink("sigusr1",
"root/etc/e-smith/events/$_/services2adjust/httpd-e-smith");
}


Not sure how to do the same for the event_link but sure there is a way when I
look.

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

Reply via email to