From a083488c02ce119e9ecb4aaef4a4e31c84dde6c8 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Thu, 5 Jan 2023 14:39:36 +0000 Subject: [PATCH] packaging: do not reinstall libethercat if it is already present Signed-off-by: Steffen Vogel --- packaging/deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/deps.sh b/packaging/deps.sh index e170a6efd..97ff7ff98 100644 --- a/packaging/deps.sh +++ b/packaging/deps.sh @@ -98,7 +98,8 @@ if ! pkg-config "libzmq >= 2.2.0" && \ fi # Build & Install EtherLab -if [ -z "${SKIP_ETHERLAB}" ]; then +if ! pkg-config "libethercat >= 1.5.2" && \ + [ -z "${SKIP_ETHERLAB}" ]; then git clone ${GIT_OPTS} --branch stable-1.5 https://gitlab.com/etherlab.org/ethercat.git pushd ethercat ./bootstrap