From 08a0a6d2f0744e9d0bea847d80eac8b916e6560b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20unbrot=20P=C3=A4tzold?= Date: Fri, 8 May 2026 13:04:40 +0200 Subject: [PATCH] logon_script: skip parts when parameters are wrong --- system_setup/logon_script.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/system_setup/logon_script.sh b/system_setup/logon_script.sh index 40737b9..823f061 100755 --- a/system_setup/logon_script.sh +++ b/system_setup/logon_script.sh @@ -168,8 +168,6 @@ if [ "${CLIENT_SOFTWARE_CUST_DST}" != "${SYSCONFIGPATH}/client_software_cust" ]; echo "Error in config: Required parameter CLIENT_SOFTWARE_CUST_DST is missing or set wrong." echo "Please relog and if the problem reoccures, contact your system admins to correct the Values." read -n 1 -s -r -p "Press any key to continue" - echo - exit 1 else elog_add "Company delivered scripts in ${CLIENT_SOFTWARE_CUST_DST}" for DIR in $(ls -d ${CLIENT_SOFTWARE_CUST_DST}/*/ | sort); # list directories in the form "/tmp/dirname/" @@ -194,8 +192,8 @@ else elog_add " ====================" fi done + elog_add "Completed user scripts in software." fi -elog_add "Completed user scripts in software." elog_add "" # Remove unused flatpak user installed software and data