diff --git a/LibreOffice.sh b/LibreOffice.sh index 0b8faa2..3db33b5 100644 --- a/LibreOffice.sh +++ b/LibreOffice.sh @@ -77,7 +77,7 @@ if [[ "${currentinstalledver}" != "${latestver}" ]]; then /bin/echo "Available ${appName} version: ${latestver}" /bin/echo "`date`: Downloading newer version." >> ${logfile} /bin/echo "Downloading newer version." - /usr/bin/curl -o /tmp/${dnldfile} ${url} + sudo /usr/bin/curl -o /tmp/${dnldfile} ${url} if [[ "${forceQuit}" = "Y" ]]; then killall ${appName} fi