git: d6100d49222c - main - mail/exim: fix 150.exim-tidydb script for new .db files

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Wed, 08 Nov 2023 17:03:38 UTC
The branch main has been updated by pi:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d6100d49222ced15d58be97cc6c64d938b1ca48c

commit d6100d49222ced15d58be97cc6c64d938b1ca48c
Author:     Alexander Sheiko <adsh@univ.kiev.ua>
AuthorDate: 2023-11-08 17:01:27 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2023-11-08 17:03:20 +0000

    mail/exim: fix 150.exim-tidydb script for new .db files
    
    PR:             271767
    Author:         Alexander Sheiko <adsh@univ.kiev.ua>
    Tested-by:      David Siebörger <drs-freebsd@sieborger.nom.za>
    Approved-by:    fluffy (implicit)
---
 mail/exim/files/150.exim-tidydb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail/exim/files/150.exim-tidydb.sh b/mail/exim/files/150.exim-tidydb.sh
index 34a25236b6d8..67e6895309f0 100644
--- a/mail/exim/files/150.exim-tidydb.sh
+++ b/mail/exim/files/150.exim-tidydb.sh
@@ -25,7 +25,7 @@ tidy () {
 	    [ "$db" = "$exim_dbdir/db/*.lockfile" ] && continue
 	    echo
 	    db_name=`basename "$db" .lockfile`
-	    if [ -e "${exim_dbdir}/db/${db_name}" ]; then
+	    if [ -e "${exim_dbdir}/db/${db_name}.db" ]; then
 	        "$exim_tidydb" "$exim_dbdir" "$db_name"
 	    fi
 	done