From c7cb45dfa538e0b44a9adf6e19cd27c6a65274ec Mon Sep 17 00:00:00 2001 From: bryan Date: Sun, 5 Dec 2021 13:49:49 -0500 Subject: [PATCH] createrepo implies build and this was ugly --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index fa67e48..f8bf059 100755 --- a/installJRMC +++ b/installJRMC @@ -20,7 +20,7 @@ shopt -s extglob -_scriptversion="1.0b3" +_scriptversion="1.0b4" _outputdir="$PWD/output" _createrepo_webroot="/var/www/jriver" _exec_user="$(whoami)" @@ -353,7 +353,7 @@ getLatestVersion() { # This can be overriden w/ --mcversion # TODO need user input here # disable version checks for createrepo or rpmbuild (servers) - if [[ ! -v _createrepo ]] || ! [[ -v _build && ! -v _install ]]; then + if [[ -v _build && ! -v _install ]]; then if [[ "$ID" == "ubuntu" ]]; then # [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && \ # _base="bullseye"