/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch
ViewVC logotype

Contents of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0-bz10564-fixIncludes-longUpdate.patch

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


Revision 1.2 - (show annotations) (download)
Sun Nov 8 20:40:36 2020 UTC (3 years, 6 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 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-11 21:14:51.527000000 -0400
3 +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-11 21:15:14.489000000 -0400
4 @@ -159,7 +159,7 @@
5 my @uUsers ;
6 for (@Users) { push @uUsers, $NCusers{$_}; } ;
7 # next if includeI not empty and if not in includeI
8 - next if (scalar(@incI) > 0 && grep(/^$key$/i, @incI) );
9 + next unless (scalar(@incI) == 0 || grep(/^$key$/i, @incI) );
10 # next if in excludeI
11 next if (grep(/^$key$/i, @excI) );
12
13 @@ -246,7 +246,9 @@
14 # we do this on every turn in case it was wrong
15 chown $uid, $gid,"$idir/files/ibays";
16 chmod 0770, "$idir/files/ibays";
17 - OCC "files:scan $user --quiet";
18 + # added --unscanned to avoid to hang on large quantity of file when discovering the newly created ibays folder
19 + # if not enough could add --path $idir/files/ibays
20 + OCC "files:scan $user --quiet --unscanned";
21 # we proceed next only if we want the user homes
22 next unless ($status eq "enabled");
23 # get existing mount

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