removed if-GIT_CLONE_EXECUTED branch

This commit is contained in:
Gerhard Hoffmann 2023-05-30 16:42:03 +02:00
parent b5b3aa7e34
commit 2d76b37e5d

View File

@ -67,14 +67,12 @@ update_psa() {
# Fetch new updates (using git). but only when repository has already been # Fetch new updates (using git). but only when repository has already been
# cloned. # cloned.
if [ $GIT_CLONE_EXECUTED -eq 0 ]; then if ! fetch_customer_updates; then
if ! fetch_customer_updates; then log_error "$func:${LINENO}: fetch no data for $customer_id"\
log_error "$func:${LINENO}: fetch no data for $customer_id"\ "-> no files to update -> no psa update"
"-> no files to update -> no psa update" update_psa_false_alarm \
update_psa_false_alarm \ "update request, but no change in $CUSTOMER_REPOSITORY_PATH"
"update request, but no change in $CUSTOMER_REPOSITORY_PATH" # TODO
# TODO
fi
fi fi
update_psa_pull_customer_repository # message to ISMAS update_psa_pull_customer_repository # message to ISMAS