Update !Script-Template.sh

This commit is contained in:
wattsy74
2021-09-30 19:58:58 +01:00
committed by GitHub
parent 4339643795
commit 8cb418a9ab

View File

@@ -161,7 +161,7 @@
# Unmount the DMG
/bin/echo "`date`: Unmounting installer disk image." >> ${logfile}
/usr/bin/hdiutil detach $(/bin/df | /usr/bin/grep AppName | awk '{print $1}') -quiet
/usr/bin/hdiutil detach $(/bin/df | /usr/bin/grep "${appName}" | awk '{print $1}') -quiet
/bin/sleep 10
else