mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-06-11 04:30:29 +01:00
Added no cache to url
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user