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 ; |