updated install script
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user