Disable version limits for building RPMs
This commit is contained in:
@@ -343,7 +343,8 @@ getLatestVersion() {
|
|||||||
# Peg older versions to prevent ABI and dependency mismatches in automatic mode
|
# Peg older versions to prevent ABI and dependency mismatches in automatic mode
|
||||||
# This can be overriden w/ --mcversion
|
# This can be overriden w/ --mcversion
|
||||||
# TODO need user input here
|
# 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
|
if [[ "$ID" == "ubuntu" ]]; then
|
||||||
# [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && \
|
# [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && \
|
||||||
# _base="bullseye"
|
# _base="bullseye"
|
||||||
|
|||||||
Reference in New Issue
Block a user