From 7104da740c965078739920e6bc1e863c6b88ccdf Mon Sep 17 00:00:00 2001 From: wattsy74 <49881777+wattsy74@users.noreply.github.com> Date: Wed, 29 Sep 2021 09:19:31 +0100 Subject: [PATCH] Update LibreOffice.sh --- LibreOffice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LibreOffice.sh b/LibreOffice.sh index 52870b1..ab262f8 100644 --- a/LibreOffice.sh +++ b/LibreOffice.sh @@ -84,7 +84,7 @@ if [[ "${currentinstalledver}" != "${latestver}" ]]; then /bin/echo "`date`: Downloading newer version." >> ${logfile} /bin/echo "Downloading newer version." /bin/echo ${url} >> ${logfile} - curl -o /tmp/${dnldfile} ${url} >> ${logfile} + curl -o /tmp/${dnldfile} ${url} if [[ "${forceQuit}" = "Y" ]]; then killall ${appName} fi @@ -95,7 +95,7 @@ if [[ "${currentinstalledver}" != "${latestver}" ]]; then /usr/bin/hdiutil attach /tmp/${dnldfile} -nobrowse >> ${logfile} /bin/sleep 5 /bin/echo "`date`: Installing..." >> ${logfile} - ditto -rsrc -v -V "/Volumes/${appName}/${appName}.app" "/Applications/${appName}.app" >> ${logfile} + ditto -rsrc "/Volumes/${appName}/${appName}.app" "/Applications/${appName}.app" /bin/echo "`date`: Unmounting installer disk image." >> ${logfile} /usr/bin/hdiutil detach $(/bin/df | /usr/bin/grep ${appName} | awk '{print $1}') >> ${logfile} /bin/sleep 5