/[smecontribs]/rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch
ViewVC logotype

Diff of /rpms/smeserver-webshare/contribs10/smeserver-webshare-1.0.0-sme10-backup.patch

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

Revision 1.1 by jpp, Tue Aug 2 03:48:31 2022 UTC Revision 1.3 by jpp, Tue Aug 2 03:58:05 2022 UTC
# Line 1  Line 1 
1  diff -Nur --no-dereference smeserver-webshare-1.0.0.old/createlinks smeserver-webshare-1.0.0/createlinks  diff -Nur --no-dereference smeserver-webshare-1.0.0.old/createlinks smeserver-webshare-1.0.0/createlinks
2  --- smeserver-webshare-1.0.0.old/createlinks    2002-05-05 22:44:40.000000000 -0400  --- smeserver-webshare-1.0.0.old/createlinks    2002-05-05 22:44:40.000000000 -0400
3  +++ smeserver-webshare-1.0.0/createlinks        2022-08-01 23:45:19.441000000 -0400  +++ smeserver-webshare-1.0.0/createlinks        2022-08-01 23:57:14.361000000 -0400
4  @@ -19,3 +19,18 @@  @@ -2,20 +2,25 @@
5     # This script creates the symlinks needed by this RPM
6     # Specific support exists to create symlinks within e-smith web "panels"
7     # and for links from named "events" directories into the "actions" directory
8    -
9    -sub panel_link
10    -{
11    -    my ($function, $panel) = @_;
12    -
13    -    unlink "root/etc/e-smith/web/panels/$panel/cgi-bin/$function";
14    -    symlink("../../../functions/$function",
15    -           "root/etc/e-smith/web/panels/$panel/cgi-bin/$function")
16    -       or die "Can't symlink to root/etc/e-smith/web/panels/$panel".
17    -           "/cgi-bin/$function: $!";
18    -}
19    +use esmith::Build::CreateLinks qw(:all);
20    
21     #--------------------------------------------------
22     # functions for user and manager panel
23   #--------------------------------------------------   #--------------------------------------------------
24   my $panel = "manager";   my $panel = "manager";
25   panel_link("webshare", $panel);   panel_link("webshare", $panel);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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