From 793bbc045a037fdf193169d1e885a569a6b7dfb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20unbrot=20P=C3=A4tzold?= Date: Fri, 8 May 2026 13:36:41 +0200 Subject: [PATCH] sync_client_software: Fixed parameter to skip software --- system_setup/sync_client_software.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system_setup/sync_client_software.sh b/system_setup/sync_client_software.sh index 296a9de..ccc051a 100755 --- a/system_setup/sync_client_software.sh +++ b/system_setup/sync_client_software.sh @@ -211,9 +211,9 @@ else echo "Running company install scripts in user- context." for DIR in $(ls -d ${CLIENT_SOFTWARE_CUST_DST}/*/ | sort); do DIR=${DIR%*/} # remove the trailing "/" - if [[ "$1." != "." ]] && [[ "${DIR}" != *"$1"* ]]; then + if [[ "$2." != "." ]] && [[ "${DIR}" != *"$2"* ]]; then #search for string in dir - echo "Skipping ${DIR} while not in search parameter ( $1 )." + echo "Skipping ${DIR} while not in search parameter ( $2 )." continue fi if [ -f "${DIR}/install.sh" ]; then