Running on Catalina but I think I've seen these errors on Mojave as well. Seems again like a mount issue? Can it be fixed with any alternative commands like mktemp -d ?Ĭurrent Script I have is here.
Tue Aug 4 12:49:29 EEST 2020: ERROR: Firefox update unsuccessful, version remains at 70.0.1. Tue Aug 4 12:49:29 EEST 2020: Deleting disk image. Tue Aug 4 12:49:18 EEST 2020: Unmounting installer disk image. Tue Aug 4 12:49:08 EEST 2020: Mounting installer disk image. Tue Aug 4 12:49:07 EEST 2020: Downloading newer version. Tue Aug 4 12:49:07 EEST 2020: Available Firefox version: 79.0 FirefoxInstallScript.log at Library/Logs outputs this: Tue Aug 4 12:49:07 EEST 2020: Download URL: In all the above cases I'm having Firefox quitted. If a Firefox.dmg is already mounted it outputs just an exit code 1 (failed).Go to the Start menu, select All Programs and then Windows Update. Update Windows OS X your system: Make sure you have all of the latest security and stability fixes. See Update Firefox to the latest release for details.
On the menu bar, click the Firefox menu and select About Firefox. Script runs successfully if current Firefox Version is the latest one and exits with code 0. Update Firefox: Click the menu button, click help and select About Firefox.Logs still show that there is a problem, ditto command isn't working. I'm using this link to download the latest Firefox version. Indeed, download link was not working in the initial script version but this is still not the problem.
I have tried changing the single square brackets to double square brackets in most "If" lines, such as line 52, based on this stackOverflow discussion of “unary operator expected” error in Bash if condition. Line 52 has in if statement in square brackets, so I started there.