Update zt-dialog.sh

This commit is contained in:
Michael
2022-09-20 19:30:25 +01:00
committed by GitHub
parent 1e3a304a68
commit 601fe4c83f

View File

@@ -1,7 +1,14 @@
!/bin/bash
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Installomator.sh | bash
/usr/local/Installomator/Installomator.sh dialog BLOCKING_PROCESS_ACTION=quit_kill NOTIFY=silent
# CHECKS IF INSTALLOMATOR IS INSTALLED AND INSTALLS IF NOT
if [ ! -e "/usr/local/Installomator/Installomator.sh" ]; then
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Installomator.sh | bash
fi
# CHECKS IF DIALOG IS INSTALLED AND INSTALLS IF NOT
if [ ! -e "/usr/local/bin/dialog" ]; then
/usr/local/Installomator/Installomator.sh dialog BLOCKING_PROCESS_ACTION=quit_kill NOTIFY=silent
fi
apps=(
"Joining,/tmp/ztnetjoined.log"