From dfcbdbe07432c5cf638fb94dd9354b814db6fe25 Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Tue, 28 Sep 2021 19:49:54 +0100 Subject: [PATCH] Update LibreOffice.sh --- LibreOffice.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LibreOffice.sh b/LibreOffice.sh index 8681327..a1a4781 100644 --- a/LibreOffice.sh +++ b/LibreOffice.sh @@ -82,15 +82,15 @@ if [[ "${currentinstalledver}" != "${latestver}" ]]; then killall ${appName} fi ########################################################################## - # Uncomment this block for dmg & .app copy # + # Uncomment this block for dmg & .app copy # ########################################################################## /bin/echo "`date`: Mounting installer disk image." >> ${logfile} /usr/bin/hdiutil attach /tmp/${appName} -nobrowse -quiet /bin/echo "`date`: Installing..." >> ${logfile} ditto -rsrc "/Volumes/${appName}/${appName}.app" "/Applications/${appName}.app" - /bin/sleep 10 + /bin/sleep 30 /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 $9}') -quiet /bin/sleep 10 ##########################################################################