From 1f3befa654db42cff42e3fb60bfa2eebef5da3f1 Mon Sep 17 00:00:00 2001 From: CarstenArend Date: Wed, 3 Sep 2025 13:09:14 +0200 Subject: [PATCH] updated install script --- install.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d816adb..c41c5c8 100644 --- a/install.sh +++ b/install.sh @@ -28,6 +28,7 @@ if [ $? -ne 0 ] exit fi unzip -q master.zip +rm master.zip cd zeroplc-installer sleep 1 @@ -101,7 +102,7 @@ echo "#################################################################" sleep 1 while true; do -read -p "Do you want to intall the zeroPLCgui for simple testing of hardware functions? (yes/no) " yn +read -p "Do you want to intall the zeroPLCgui for simple testing of hardware functions? (yes/no) " yn < /dev/tty case $yn in yes ) echo Starting zeroPLCgui installation to zeroPLCgui folder in home directory; break;; @@ -109,7 +110,8 @@ case $yn in rm -r /home/$SUDO_USER/zeroplc-installer; echo Exiting installer, please reboot the system; exit;; - * ) echo invalid response;; + * ) echo invalid response; + sleep 1;; esac done