/[smecontribs]/rpms/smeserver-userpanel/contribs8/smeserver-userpanel-0.9-linktotranslations.patch
ViewVC logotype

Annotation of /rpms/smeserver-userpanel/contribs8/smeserver-userpanel-0.9-linktotranslations.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Dec 15 18:09:43 2013 UTC (10 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-userpanel-0_9-16_el5_sme, smeserver-userpanel-0_9-18_el5_sme, HEAD
* Sun Dec 15 2013 JP Pialasse <tests@pialasse.com>  0.9-16.sme
- move post to an action event [SME: 8032]

1 unnilennium 1.1 diff -Nur smeserver-userpanel-0.9-old/createlinks smeserver-userpanel-0.9/createlinks
2     --- smeserver-userpanel-0.9-old/createlinks 2013-12-04 13:15:08.000000000 +0100
3     +++ smeserver-userpanel-0.9/createlinks 2013-12-04 13:35:46.000000000 +0100
4     @@ -4,10 +4,18 @@
5     use File::Basename;
6     use File::Path;
7    
8     +##link to panel
9     panel_link("userpanelaccess", "manager");
10    
11     +##actions conf-userpanelsymlinks
12     for my $event (qw( conf-userpanel bootstrap-console-save console-save post-upgrade remoteaccess-update )){
13     event_link("conf-userpanelsymlinks", $event, "70");}
14     +
15     +##actions link to translations
16     + for my $event (qw( conf-userpanel bootstrap-console-save console-save post-upgrade remoteaccess-update )){
17     +event_link("conf-linktotranslations", $event, "70");}
18     +
19     +##event conf-userpanel
20     my $event = "conf-userpanel";
21     safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-admin");
22     safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
23     diff -Nur smeserver-userpanel-0.9-old/root/etc/e-smith/events/actions/conf-linktotranslations smeserver-userpanel-0.9/root/etc/e-smith/events/actions/conf-linktotranslations
24     --- smeserver-userpanel-0.9-old/root/etc/e-smith/events/actions/conf-linktotranslations 1970-01-01 01:00:00.000000000 +0100
25     +++ smeserver-userpanel-0.9/root/etc/e-smith/events/actions/conf-linktotranslations 2013-12-04 13:35:23.000000000 +0100
26     @@ -0,0 +1,8 @@
27     +#!/bin/bash
28     +trad=`ls /etc/e-smith/locale/`
29     +for lang in $trad
30     +do
31     +/bin/mkdir -p /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user
32     +/bin/ln -sf /etc/e-smith/locale/$lang/etc/e-smith/web/functions /etc/e-smith/locale/$lang/etc/e-smith/web/panels/user/cgi-bin
33     +done
34     +

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