Fix typo in conditional

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2023-03-01 15:07:34 -05:00
parent c4586d42a2
commit 62e12d19a0
No known key found for this signature in database
GPG Key ID: 45DB85A568286D11

View File

@ -138,7 +138,7 @@ FEDORA_DEFAULT_RELEASE_LOW=$((NODE_PKG_MAJOR + 19))
FEDORA_DEFAULT_RELEASE_HIGH=$((NODE_PKG_MAJOR + 20)) FEDORA_DEFAULT_RELEASE_HIGH=$((NODE_PKG_MAJOR + 20))
if [[ $((NODE_PKG_MAJOR)) -eq 20 ]] if [[ $((NODE_PKG_MAJOR)) -eq 20 ]]
then RHEL_DEFAULT_RELEASE=" | 0%{?rhel} == 10" then RHEL_DEFAULT_RELEASE=" || 0%{?rhel} == 10"
fi fi
rm -rf node-v${version}.tar.gz \ rm -rf node-v${version}.tar.gz \