General TC > Programming & Scripting - Unofficial
firefox_update.sh - Efficiently Update firefox.tcz
CNK:
Here's firefox_update.sh v1.1 (it's cleaner to post an external download link for non-members to access rather than the whole script).
Changes
* Now works on PiCore when Firefox has been installed with the firefox_getLatest.sh script, also with PiCore support now added
* Can now auto-detect download location if the normal link fails, like firefox_getLatest.sh
* You can now manually specify the version to upgrade to on the command-line like: "firefox_update.sh -m 128.11.0esr" (new version must be from the same release channel, eg. esr)
* -h/-help/--help now prints a help message
* Changed Firefox's updater command parameters to work with newer versions as described in the last post
* Now updates the Firefox desktop icon
tcbc:
--- Quote from: CNK on July 25, 2025, 08:18:10 AM ---Here's firefox_update.sh v1.1
--- End quote ---
Unfortunately this isn't working for me in TC15 x86.
firefox_getLatest can't get anything newer than version 134.0.2 and when I use firefox_update.sh to update that I get the following error when the Firefox "updater" application is executed:
--- Code: ---The patch directory path is not valid for this application (0)
--- End code ---
The contents of the patch directory when this message appears:
--- Code: ----rw-r--r-- 1 tc staff 0 Sep 20 11:15 firefox-134.0.2-143.0.1-en-US.partial.mar
-rw-r--r-- 1 tc staff 81495069 Sep 19 11:33 firefox-143.0.1-en-US.complete.mar
-rw-r--r-- 1 tc staff 723 Sep 20 11:29 update.log
lrwxrwxrwx 1 tc staff 41 Sep 20 11:15 update.mar -> firefox-134.0.2-143.0.1-en-US.partial.mar
-rw-r--r-- 1 tc staff 11 Sep 20 11:29 update.status
--- End code ---
Can you please tell me if there is a known solution for this?
CNK:
--- Quote from: tcbc on September 20, 2025, 07:08:27 AM ---
--- Quote from: CNK on July 25, 2025, 08:18:10 AM ---Here's firefox_update.sh v1.1
--- End quote ---
Unfortunately this isn't working for me in TC15 x86.
firefox_getLatest can't get anything newer than version 134.0.2
--- End quote ---
That's when Mozilla changed from using BZ2 to XZ compression. You must be using the older version of the firefox_getLatest.sh script from before I added support for XZ compressed release packages. Download the newer script or manually replace the firefox_getLatest.tcz extension with the one in the TC16 repo.
--- Quote ---
--- Code: ---The patch directory path is not valid for this application (0)
--- End code ---
The contents of the patch directory when this message appears:
--- Code: ----rw-r--r-- 1 tc staff 0 Sep 20 11:15 firefox-134.0.2-143.0.1-en-US.partial.mar
-rw-r--r-- 1 tc staff 81495069 Sep 19 11:33 firefox-143.0.1-en-US.complete.mar
-rw-r--r-- 1 tc staff 723 Sep 20 11:29 update.log
lrwxrwxrwx 1 tc staff 41 Sep 20 11:15 update.mar -> firefox-134.0.2-143.0.1-en-US.partial.mar
-rw-r--r-- 1 tc staff 11 Sep 20 11:29 update.status
--- End code ---
Can you please tell me if there is a known solution for this?
--- End quote ---
I haven't seen that error before. Maybe they've changed the updater yet again, though it worked for me going from v128 to v140 ESR.
CNK:
New firefox_update.sh version 1.2, just to fix the detection of the latest Firefox version, which broke when Linux 32bit support was ended (except for ESR). On 32bit you need to use firefox_getLatest.sh to download the latest ESR release to continue receiving security updates for that.
Navigation
[0] Message Index
[*] Previous page
Go to full version