From b1562e7d333a591a6cf21d24f51eaf1cb7d131de Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Wed, 23 Apr 2025 20:20:26 +0200 Subject: [PATCH] Update program version and fix git command output handling Bump the program version from 2.2.6 to 2.2.7. Remove unnecessary [-q] flag from the [git ls-remote] command to ensure proper output handling and improve compatibility. --- src/octozipo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octozipo b/src/octozipo index 8625fff..39826ed 100755 --- a/src/octozipo +++ b/src/octozipo @@ -3,7 +3,7 @@ # Program name PROGRAM_NAME="Octozipo" PROGRAM_CODE="octozipo" -PROGRAM_VERSION="2.2.6" +PROGRAM_VERSION="2.2.7" PROGRAM_V="2.2" # PROGRAM_URL="https://git.vdm.dev/octoleo/${PROGRAM_CODE}" @@ -84,7 +84,7 @@ main() { # get the package details getPackageDetails "${zip_name}" "${folder_name}" # check if the repo exist on our system - if git ls-remote --exit-code --heads "git@${VDM_GIT_URL}:${VDM_ORG}/${VDM_REPO_NAME}.git" "${VDM_REPO_BRANCH}" -q >/dev/null 2>&1; then + if git ls-remote --exit-code --heads "git@${VDM_GIT_URL}:${VDM_ORG}/${VDM_REPO_NAME}.git" "${VDM_REPO_BRANCH}" >/dev/null 2>&1; then # check if repo is locally found cd "${VDM_PATH_REPO}" >/dev/null 2>&1 || { git clone "git@${VDM_GIT_URL}:${VDM_ORG}/${VDM_REPO_NAME}.git" \