/[smecontribs]/rpms/smeserver-affa/contribs10/smeserver-affa-fix-imapfiles-find.patch
ViewVC logotype

Contents of /rpms/smeserver-affa/contribs10/smeserver-affa-fix-imapfiles-find.patch

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


Revision 1.2 - (show annotations) (download)
Tue Mar 23 14:27:48 2021 UTC (3 years, 8 months ago) by jcrisp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
Import smeserver-affa-3.0.0

1 diff -ruN smeserver-affa-3.2.2.3.old/root/sbin/affa smeserver-affa-3.2.2.3/root/sbin/affa
2 --- smeserver-affa-3.2.2.3.old/root/sbin/affa 2016-11-23 17:16:44.907000958 +0100
3 +++ smeserver-affa-3.2.2.3/root/sbin/affa 2016-11-23 17:28:11.443000947 +0100
4 @@ -4303,7 +4303,7 @@
5
6 sub imapIndexFilesDeleteCommand()
7 {
8 - return 'USERS=`/usr/bin/find /home/e-smith/files/users -type d -maxdepth 1`;USERS="/home/e-smith/ $USERS"; for u in $USERS ; do ! /usr/bin/test -d $u/Maildir && continue; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name ".imap.index*" -exec /bin/rm -f \'{}\' \; ; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name "dovecot.index*" -exec /bin/rm -f \'{}\' \; ; done';
9 + return 'USERS=`/usr/bin/find /home/e-smith/files/users -maxdepth 1 -type d`;USERS="/home/e-smith/ $USERS"; for u in $USERS ; do ! /usr/bin/test -d $u/Maildir && continue; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name ".imap.index*" -exec /bin/rm -f \'{}\' \; ; /usr/bin/find $u/Maildir -maxdepth 2 -type f -name "dovecot.index*" -exec /bin/rm -f \'{}\' \; ; done';
10 }
11
12 sub imapIndexFilesDelete()

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