From 024581fd55f30cdbbd608e7e2ed99f31af848883 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 4 Oct 2024 00:04:45 -0400 Subject: [PATCH] Add temp debug --- installJRMC | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 0bfee77..4dc368a 100755 --- a/installJRMC +++ b/installJRMC @@ -1736,8 +1736,10 @@ main() { install_package "wget" [[ -d $OUTPUT_DIR/SOURCES ]] || execute mkdir -p "$OUTPUT_DIR/SOURCES" acquire_deb || { err "Could not download Media Center DEB package"; return 1; } - if [[ $BUILD_TARGET =~ (centos|fedora|suse) \ - || $REPO_TARGET =~ (centos|fedora|suse) ]]; then + + declare -p + + if [[ $BUILD_TARGET =~ (centos|fedora|suse) || $REPO_TARGET =~ (centos|fedora|suse) ]]; then install_package "dpkg" "rpm-build" [[ -d $OUTPUT_DIR/SPECS ]] || execute mkdir -p "$OUTPUT_DIR/SPECS" build_rpm