Update brandDEPinstall.sh

This commit is contained in:
Michael
2021-10-04 20:19:26 +01:00
committed by GitHub
parent 41a6c544d6
commit 83ed93ef69

View File

@@ -20,18 +20,18 @@
#########################################################################
# Script to brand DEPNotify with PurpleComputing for app installs.
#
APPINSTALLNAME=$(cat /tmp/.appinstallname)
## BRANDING DEPNOTIFY WINDOW
echo 'Command: MainTitle: App Installation' >> /var/tmp/depnotify.log
echo 'Command: MainTitle: Installing $APPINSTALLNAME...' >> /var/tmp/depnotify.log
echo 'Command: Image: /Library/Application Support/Purple/logo.png' >> /var/tmp/depnotify.log
echo 'Command: MainText: We are now installing the requested application.' >> /var/tmp/depnotify.log
echo 'Command: MainText: We are now installing re-installing the $APPINSTALLNAME application.' >> /var/tmp/depnotify.log
## STARTING INSTALLS ###
echo 'Status: Starting MDM Installer' >> /var/tmp/depnotify.log
sleep 3s
#sudo -u $(stat -f '%Su' /dev/console) /bin/sh <<'END'
chmod 777 /var/tmp/depnotify.log
killall DEPNotify
/Applications/Utilities/DEPNotify.app/Contents/MacOS/DEPNotify
chmod 777 /var/tmp/depnotify.log
sleep 3s