From b6eb4281e6d66bcd63c30ab88be7bfae84c65863 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 14 Feb 2023 14:51:43 -0500 Subject: [PATCH] Add debug --- installJRMC | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/installJRMC b/installJRMC index c60b440..b859c42 100755 --- a/installJRMC +++ b/installJRMC @@ -127,8 +127,8 @@ parseInput() { declare -g BUILD_SWITCH REPO_INSTALL_SWITCH COMPAT_SWITCH TEST_SWITCH declare -g LOCAL_INSTALL_SWITCH CREATEREPO_SWITCH UNINSTALL_SWITCH - declare -g USER_VERSION_SWITCH - declare -g OUTPUTDIR RESTOREFILE BETAPASS SERVICE_TYPE USER_ARCH + declare -g USER_VERSION_SWITCH USER_ARCH + declare -g OUTPUTDIR RESTOREFILE BETAPASS SERVICE_TYPE declare -g VNCPASS USER_DISPLAY CREATEREPO_WEBROOT declare -ga SERVICES CONTAINERS declare long_opts short_opts input @@ -579,11 +579,10 @@ installMCFromRepo() { acquireDeb() { debug "Running: ${FUNCNAME[0]}" - - - declare -g MCDEB="$OUTPUTDIR/SOURCES/MediaCenter-$MCVERSION-${USER_ARCH:-$ARCH}.deb" + debug "MCDEB=$MCDEB" + # If necessary, create SOURCES dir [[ -d "$OUTPUTDIR/SOURCES" ]] || execute "mkdir -p $OUTPUTDIR/SOURCES"