git: b0421f68d1d1 - main - package: fix inverted logic

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Fri, 06 May 2022 07:24:09 UTC
The branch main has been updated by bapt:

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

commit b0421f68d1d13596642f2b2d0fef0a31aa41b79d
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-05-06 07:23:46 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-05-06 07:23:46 +0000

    package: fix inverted logic
---
 Mk/bsd.port.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 2c35474eab1a..9a5b47ebe4dc 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -2619,7 +2619,7 @@ WRKDIR_PKGFILE=	${WRKDIR}/pkg/${PKGNAME}${PKG_SUFX}
 PKGLATESTREPOSITORY?=	${PACKAGES}/Latest
 PKGBASE?=			${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
 PKGLATESTFILE=		${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX}
-.if ${PKG_COMPRESSION_FORMAT} != txz
+.if ${PKG_COMPRESSION_FORMAT} == txz
 PKGOLDLATESTFILE=		${PKGLATESTREPOSITORY}/${PKGBASE}.${PKG_COMPRESSION_FORMAT}
 # Temporary workaround to be deleted once every supported version of FreeBSD
 # have a bootstrap which handles the pkg extension.