From 2d76b37e5de6ba0842263cfcb7dc8007d0ab35d0 Mon Sep 17 00:00:00 2001 From: GerhardHoffmann Date: Tue, 30 May 2023 16:42:03 +0200 Subject: [PATCH] removed if-GIT_CLONE_EXECUTED branch --- update_psa_impl | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/update_psa_impl b/update_psa_impl index 6e19fae..72b167e 100755 --- a/update_psa_impl +++ b/update_psa_impl @@ -67,14 +67,12 @@ update_psa() { # Fetch new updates (using git). but only when repository has already been # cloned. - if [ $GIT_CLONE_EXECUTED -eq 0 ]; then - if ! fetch_customer_updates; then - log_error "$func:${LINENO}: fetch no data for $customer_id"\ - "-> no files to update -> no psa update" - update_psa_false_alarm \ - "update request, but no change in $CUSTOMER_REPOSITORY_PATH" - # TODO - fi + if ! fetch_customer_updates; then + log_error "$func:${LINENO}: fetch no data for $customer_id"\ + "-> no files to update -> no psa update" + update_psa_false_alarm \ + "update request, but no change in $CUSTOMER_REPOSITORY_PATH" + # TODO fi update_psa_pull_customer_repository # message to ISMAS