From f6af09043144a1e9f62afc7d588636640775b6ab Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 2 Dec 2021 19:54:52 -0500 Subject: [PATCH] Disable version limits for building RPMs --- installJRMC | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index a00864f..287c898 100755 --- a/installJRMC +++ b/installJRMC @@ -343,7 +343,8 @@ getLatestVersion() { # Peg older versions to prevent ABI and dependency mismatches in automatic mode # This can be overriden w/ --mcversion # TODO need user input here - if ! [[ -v _createrepo ]] || [[ -v _build && ! -v _install ]]; then # disable version checks for createrepo or rpmbuild (servers) + # disable version checks for createrepo or rpmbuild (servers) + if [[ ! -v _createrepo ]] || ! [[ -v _build && ! -v _install ]]; then if [[ "$ID" == "ubuntu" ]]; then # [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && \ # _base="bullseye"