/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0-bz10559-shares.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0-bz10559-shares.patch

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


Revision 1.2 - (hide annotations) (download)
Sun Nov 8 20:40:35 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
- initial SME10 import [SME: 11086]

1 jpp 1.1 diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf
2     --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-08 21:55:25.213000000 -0400
3     +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-08 21:56:36.014000000 -0400
4     @@ -59,11 +59,14 @@
5     my @ibays = $adb->ibays();
6     my @users = $adb->users();
7     push @users,$adb->get('admin');
8     +my @shares = $adb->get_all_by_prop(type => 'share' );
9     my %localmounts;
10     my @idOK;
11     my $nextcloud = $cdb->get('nextcloud') or exit;
12     my $status = $nextcloud->prop('status') || 'disabled';
13     exit if $status eq "disabled";
14     +my $doshare = $nextcloud->prop('Shares') || 'enabled';
15     +push @ibays,@shares unless $doshare eq "disabled";
16     my $includeI = $nextcloud->prop('IncludeIbay') || "";
17     my $excludeI = $nextcloud->prop('ExcludeIbay') || "Primary";
18     my @incI = split ',' , $includeI ;

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