This commit is contained in:
Michael
2022-11-27 15:01:31 +00:00
parent 776dabea31
commit ad77d7819c

View File

@@ -4,16 +4,22 @@
# SERVICE SCRIPT CALLED BY OTHER SCRIPTS
# INSTALLS APPLICATION
sleep 5
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop-beta.sh?v=123$(date +%s) | bash
# CHECKS TO ADD TO DOCK OR NOT
if [ "$MDMADDTODOCK" == "Y" ]; then
echo "SCRIPT WILL TRY TO ADD TO DOCK"
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/add-to-dock.sh?v=123$(date +%s) | bash
sleep 2
killall Dock
else
echo "SCRIPT WILL NOT TRY TO ADD TO DOCK"
echo Continuing...
fi
## BELOW CODE COMMENTED OUT
# sleep 5
# curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop-beta.sh?v=123$(date +%s) | bash
#
# # CHECKS TO ADD TO DOCK OR NOT
# if [ "$MDMADDTODOCK" == "Y" ]; then
# echo "SCRIPT WILL TRY TO ADD TO DOCK"
# curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/add-to-dock.sh?v=123$(date +%s) | bash
# sleep 2
# killall Dock
# else
# echo "SCRIPT WILL NOT TRY TO ADD TO DOCK"
# echo Continuing...
# fi
# ABOVE CODE COMMENTED OUT
# NEW SCRIPT
curl -s -L "https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/launch-app-installs.sh?v=123"$(date +%s) | bash