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

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

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


Revision 1.1 - (show annotations) (download)
Wed Nov 23 17:06:34 2016 UTC (8 years ago) by reetspetit
Branch: MAIN
CVS Tags: smeserver-affa-3_2_2_3-8_el6_sme, smeserver-affa-3_2_2_3-6_el6_sme, smeserver-affa-3_2_2_3-7_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Nov 23 2016 John Crisp <jcrisp@safeandsoundit.co.uk> 3.2.2.3-7.sme
- Fix find command error in delete imap dovecot files [SME: 9874]

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