From 4435606de2755880ef7b320d2edbbac2a12cbb78 Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 5 Apr 2023 15:10:10 -0400 Subject: [PATCH] Build with createrepo --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index da0bd63..94d9f05 100755 --- a/installJRMC +++ b/installJRMC @@ -1757,8 +1757,8 @@ main() { installPackage "wget" [[ -d $OUTPUTDIR/SOURCES ]] || execute mkdir -p "$OUTPUTDIR/SOURCES" acquireDeb - debug "BUILD_TARGET=$BUILD_TARGET" - if [[ $BUILD_TARGET =~ (centos|fedora|suse) ]]; then + if [[ $BUILD_TARGET =~ (centos|fedora|suse) || + $REPO_TARGET =~ (centos|fedora|suse) ]]; then installPackage "dpkg" "rpm-build" [[ -d $OUTPUTDIR/SPECS ]] || execute mkdir -p "$OUTPUTDIR/SPECS" buildRPM