Added no cache to url

This commit is contained in:
Michael
2022-09-21 18:38:00 +00:00
parent c8df128c4e
commit b6194beb3e
3 changed files with 5 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ fi
# /usr/local/bin/dockutil --remove all --allhomes
rm -rf /usr/local/bin/dockutil-labels.sh
curl -s -o /usr/local/bin/dockutil-labels.sh https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/dockutil-labels.sh
curl -s -o /usr/local/bin/dockutil-labels.sh https://raw.githubusercontent.com/PurpleComputing/helpful-scripts/main/dockutil-labels.sh?v=123$(date +%s)
chmod +x /usr/local/bin/dockutil-labels.sh

View File

@@ -18,7 +18,7 @@ echo "$MDMAPPLABEL"
# 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
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Installomator.sh?v=123$(date +%s) | bash
fi
# No sleeping

View File

@@ -7,12 +7,10 @@
#sudo -u $(stat -f "%Su" /dev/console) /bin/sh <<'END'
#export CURL_SSL_BACKEND="secure-transport"
cd /Library/Application\ Support/Purple/
# CHECKS FOR DIALOG AND PRESENTS IF REQUESTED
if [ "$SHOWDIALOG" == "Y" ]; then
echo "Dialog will open"
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/show-dialog-depnotify.sh | bash
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/show-dialog-depnotify.sh?v=123$(date +%s) | bash
else
echo "Dialog will not open"
echo Continuing...
@@ -20,12 +18,12 @@ fi
# INSTALLS APPLICATION
sleep 5
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop.sh | bash
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/install-app-loop.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 | bash
curl -s https://raw.githubusercontent.com/PurpleComputing/mdmscripts/main/Helpers/add-to-dock.sh?v=123$(date +%s) | bash
sleep 2
killall Dock
else